1
0
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:
Peter Eisentraut
2002-10-21 18:53:20 +00:00
parent 20f77d79a2
commit b91f9042b0
5 changed files with 26 additions and 1 deletions

View File

@@ -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 */

View File

@@ -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 */