aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2016-02-01 13:10:40 +0100
committerMichael Meskes <meskes@postgresql.org>2016-02-01 13:21:00 +0100
commit7a58d19b0c80300e7974620d336d5f90fe2d0087 (patch)
treeb607fa4a3d08a858ca128c767702e130443eb58b /src
parente51ab85cd95855d541311f204e1e7db2c40301f7 (diff)
downloadpostgresql-7a58d19b0c80300e7974620d336d5f90fe2d0087.tar.gz
postgresql-7a58d19b0c80300e7974620d336d5f90fe2d0087.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/include/datetime.h4
-rw-r--r--src/interfaces/ecpg/include/decimal.h4
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 */