diff options
author | Michael Meskes <meskes@postgresql.org> | 2016-02-01 13:10:40 +0100 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2016-02-01 13:19:34 +0100 |
commit | d9ce5d201d17e360b8de2cd3d912c1fec49d85fd (patch) | |
tree | 065d303cf37e9b80a3dc834abe041ef40bab5446 | |
parent | 555bc8b374f0883b51b937749e39ef8569bfd0d8 (diff) |
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.
-rw-r--r-- | src/interfaces/ecpg/include/datetime.h | 4 | ||||
-rw-r--r-- | src/interfaces/ecpg/include/decimal.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/include/datetime.h b/src/interfaces/ecpg/include/datetime.h index e7d6d2144aa..9394a129f1b 100644 --- a/src/interfaces/ecpg/include/datetime.h +++ b/src/interfaces/ecpg/include/datetime.h @@ -5,8 +5,8 @@ #include <ecpg_informix.h> -#ifndef _ECPGLIB_H /* source created by ecpg which defines these - * symbols */ +/* source created by ecpg which defines these symbols */ +#ifndef _ECPGLIB_H typedef timestamp dtime_t; typedef interval intrvl_t; #endif /* ndef _ECPGLIB_H */ diff --git a/src/interfaces/ecpg/include/decimal.h b/src/interfaces/ecpg/include/decimal.h index 7efed476932..11b02de8aef 100644 --- a/src/interfaces/ecpg/include/decimal.h +++ b/src/interfaces/ecpg/include/decimal.h @@ -5,8 +5,8 @@ #include <ecpg_informix.h> -#ifndef _ECPGLIB_H /* source created by ecpg which defines this - * symbol */ +/* source created by ecpg which defines this */ +#ifndef _ECPGLIB_H typedef decimal dec_t; #endif /* ndef _ECPGLIB_H */ |