Skip to content

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