diff options
author | Thomas G. Lockhart <lockhart@fourpalms.org> | 1997-07-01 00:31:10 +0000 |
---|---|---|
committer | Thomas G. Lockhart <lockhart@fourpalms.org> | 1997-07-01 00:31:10 +0000 |
commit | bf3bcb6a6dff24a2025d58a747f700e3aa20dd28 (patch) | |
tree | 4fe4e20b70dad98300bd4a424c3592dac5636235 /src/include/postgres.h | |
parent | 7bdf9ba35ba2876bf5a61d53989966660a3075ee (diff) | |
download | postgresql-bf3bcb6a6dff24a2025d58a747f700e3aa20dd28.tar.gz postgresql-bf3bcb6a6dff24a2025d58a747f700e3aa20dd28.zip |
Include definitions for endian info if not in system includes.
Diffstat (limited to 'src/include/postgres.h')
-rw-r--r-- | src/include/postgres.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h index 19426f01238..722e772a343 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -6,7 +6,7 @@ * * Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.4 1997/03/14 23:31:22 scrappy Exp $ + * $Id: postgres.h,v 1.5 1997/07/01 00:31:10 thomas Exp $ * *------------------------------------------------------------------------- */ @@ -204,4 +204,10 @@ typedef uint16 CommandId; #define STATUS_BAD_PACKET (-7) #define STATUS_FOUND (1) +#if !defined(HAVE_ENDIAN_H) +# define LITTLE_ENDIAN 1 +# define BIG_ENDIAN 2 +# define PDP_ENDIAN 3 +#endif + #endif /* POSTGRES_H */ |