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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy