mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
Add guards against double inclusion.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#ifndef _ECPG_PREPROC_EXTERN_H
|
||||
#define _ECPG_PREPROC_EXTERN_H
|
||||
|
||||
#include "type.h"
|
||||
|
||||
#include <errno.h>
|
||||
@@ -89,3 +92,5 @@ extern ScanKeyword *ScanKeywordLookup(char *text);
|
||||
#define OUT_OF_MEMORY 5
|
||||
#define INDICATOR_NOT_STRUCT 6
|
||||
#define INDICATOR_NOT_SIMPLE 7
|
||||
|
||||
#endif /* _ECPG_PREPROC_EXTERN_H */
|
||||
|
@@ -1,3 +1,6 @@
|
||||
#ifndef _ECPG_PREPROC_TYPE_H
|
||||
#define _ECPG_PREPROC_TYPE_H
|
||||
|
||||
#include "ecpgtype.h"
|
||||
|
||||
struct ECPGtype;
|
||||
@@ -172,3 +175,5 @@ typedef struct ScanKeyword
|
||||
char *name;
|
||||
int value;
|
||||
} ScanKeyword;
|
||||
|
||||
#endif /* _ECPG_PREPROC_TYPE_H */
|
||||
|
Reference in New Issue
Block a user