8000 Hopefully fixed missing CHAR_BIT symbol · postgres/postgres@cbe74fa · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cbe74fa

Browse files
author
Michael Meskes
committed
Hopefully fixed missing CHAR_BIT symbol
1 parent aa130f5 commit cbe74fa

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/interfaces/ecpg/ecpglib/extern.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/extern.h,v 1.25 2007/08/14 10:01:52 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/extern.h,v 1.26 2007/08/14 10:54:57 meskes Exp $ */
22

33
#ifndef _ECPG_LIB_EXTERN_H
44
#define _ECPG_LIB_EXTERN_H
@@ -7,6 +7,9 @@
77
#include "libpq-fe.h"
88
#include "sqlca.h"
99
#include "ecpg_config.h"
10+
#ifndef CHAR_BIT
11+
#include <limits.h>
12+
#endif
1013

1114
enum COMPAT_MODE
1215
{

src/interfaces/ecpg/preproc/extern.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/extern.h,v 1.67 2007/08/14 10:01:53 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/extern.h,v 1.68 2007/08/14 10:54:57 meskes Exp $ */
22

33
#ifndef _ECPG_PREPROC_EXTERN_H
44
#define _ECPG_PREPROC_EXTERN_H
55

66
#include "type.h"
77

88
#include <errno.h>
9+
#ifndef CHAR_BIT
10+
#include <limits.h>
11+
#endif
912

1013
/* defines */
1114

0 commit comments

Comments
 (0)
0