mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	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.
This commit is contained in:
		@@ -5,8 +5,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <ecpg_informix.h>
 | 
					#include <ecpg_informix.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef _ECPGLIB_H				/* source created by ecpg which defines these
 | 
					/* source created by ecpg which defines these symbols */
 | 
				
			||||||
								 * symbols */
 | 
					#ifndef _ECPGLIB_H
 | 
				
			||||||
typedef timestamp dtime_t;
 | 
					typedef timestamp dtime_t;
 | 
				
			||||||
typedef interval intrvl_t;
 | 
					typedef interval intrvl_t;
 | 
				
			||||||
#endif   /* ndef _ECPGLIB_H */
 | 
					#endif   /* ndef _ECPGLIB_H */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,8 +5,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <ecpg_informix.h>
 | 
					#include <ecpg_informix.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef _ECPGLIB_H				/* source created by ecpg which defines this
 | 
					/* source created by ecpg which defines this */
 | 
				
			||||||
								 * symbol */
 | 
					#ifndef _ECPGLIB_H
 | 
				
			||||||
typedef decimal dec_t;
 | 
					typedef decimal dec_t;
 | 
				
			||||||
#endif   /* ndef _ECPGLIB_H */
 | 
					#endif   /* ndef _ECPGLIB_H */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user