1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-03 22:24:49 +03:00

Make sure ecpg header files do not have a comment lasting several lines, one of

which is a preprocessor directive. This leads ecpg to incorrectly parse the comment as nested.
This commit is contained in:
Michael Meskes 2016-02-01 13:10:40 +01:00
parent ca5f5c45f4
commit 0b55fef393
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@
#include <ecpg_informix.h> #include <ecpg_informix.h>
#ifndef _ECPGLIB_H /* source created by ecpg which defines these /* source created by ecpg which defines these symbols */
* symbols */ #ifndef _ECPGLIB_H
typedef timestamp dtime_t; typedef timestamp dtime_t;
typedef interval intrvl_t; typedef interval intrvl_t;
#endif /* ndef _ECPGLIB_H */ #endif /* ndef _ECPGLIB_H */

View File

@ -5,8 +5,8 @@
#include <ecpg_informix.h> #include <ecpg_informix.h>
#ifndef _ECPGLIB_H /* source created by ecpg which defines this /* source created by ecpg which defines this */
* symbol */ #ifndef _ECPGLIB_H
typedef decimal dec_t; typedef decimal dec_t;
#endif /* ndef _ECPGLIB_H */ #endif /* ndef _ECPGLIB_H */