Content-Length: 287433 | pFad | http://github.com/postgrespro/postgres_cluster/commit/7a58d19b0c80300e7974620d336d5f90fe2d0087

94 Make sure ecpg header files do not have a comment lasting several lin… · postgrespro/postgres_cluster@7a58d19 · GitHub
Skip to content

Commit 7a58d19

Browse files
author
Michael Meskes
committed
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.
1 parent e51ab85 commit 7a58d19

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/interfaces/ecpg/include/datetime.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#include <ecpg_informix.h>
77

8-
#ifndef _ECPGLIB_H /* source created by ecpg which defines these
9-
* symbols */
8+
/* source created by ecpg which defines these symbols */
9+
#ifndef _ECPGLIB_H
1010
typedef timestamp dtime_t;
1111
typedef interval intrvl_t;
1212
#endif /* ndef _ECPGLIB_H */

src/interfaces/ecpg/include/decimal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#include <ecpg_informix.h>
77

8-
#ifndef _ECPGLIB_H /* source created by ecpg which defines this
9-
* symbol */
8+
/* source created by ecpg which defines this */
9+
#ifndef _ECPGLIB_H
1010
typedef decimal dec_t;
1111
#endif /* ndef _ECPGLIB_H */
1212

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/7a58d19b0c80300e7974620d336d5f90fe2d0087

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy