Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-2
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

+2-2
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)