From: Michael Meskes Date: Mon, 1 Feb 2016 12:10:40 +0000 (+0100) Subject: Make sure ecpg header files do not have a comment lasting several lines, one of X-Git-Tag: REL9_6_BETA1~793 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a58d19b0c80300e7974620d336d5f90fe2d0087;p=postgresql 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. --- diff --git a/src/interfaces/ecpg/include/datetime.h b/src/interfaces/ecpg/include/datetime.h index e7d6d2144a..9394a129f1 100644 --- a/src/interfaces/ecpg/include/datetime.h +++ b/src/interfaces/ecpg/include/datetime.h @@ -5,8 +5,8 @@ #include -#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 7efed47693..11b02de8ae 100644 --- a/src/interfaces/ecpg/include/decimal.h +++ b/src/interfaces/ecpg/include/decimal.h @@ -5,8 +5,8 @@ #include -#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 */