mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Hopefully fixed missing CHAR_BIT symbol
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/extern.h,v 1.25 2007/08/14 10:01:52 meskes Exp $ */
 | 
					/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/extern.h,v 1.26 2007/08/14 10:54:57 meskes Exp $ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef _ECPG_LIB_EXTERN_H
 | 
					#ifndef _ECPG_LIB_EXTERN_H
 | 
				
			||||||
#define _ECPG_LIB_EXTERN_H
 | 
					#define _ECPG_LIB_EXTERN_H
 | 
				
			||||||
@@ -7,6 +7,9 @@
 | 
				
			|||||||
#include "libpq-fe.h"
 | 
					#include "libpq-fe.h"
 | 
				
			||||||
#include "sqlca.h"
 | 
					#include "sqlca.h"
 | 
				
			||||||
#include "ecpg_config.h"
 | 
					#include "ecpg_config.h"
 | 
				
			||||||
 | 
					#ifndef CHAR_BIT
 | 
				
			||||||
 | 
					#include <limits.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum COMPAT_MODE
 | 
					enum COMPAT_MODE
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/extern.h,v 1.67 2007/08/14 10:01:53 meskes Exp $ */
 | 
					/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/extern.h,v 1.68 2007/08/14 10:54:57 meskes Exp $ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef _ECPG_PREPROC_EXTERN_H
 | 
					#ifndef _ECPG_PREPROC_EXTERN_H
 | 
				
			||||||
#define _ECPG_PREPROC_EXTERN_H
 | 
					#define _ECPG_PREPROC_EXTERN_H
 | 
				
			||||||
@@ -6,6 +6,9 @@
 | 
				
			|||||||
#include "type.h"
 | 
					#include "type.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <errno.h>
 | 
					#include <errno.h>
 | 
				
			||||||
 | 
					#ifndef CHAR_BIT
 | 
				
			||||||
 | 
					#include <limits.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* defines */
 | 
					/* defines */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user