Commit bf3bcb6a authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Include definitions for endian info if not in system includes.

parent 7bdf9ba3
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1995, Regents of the University of California * 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; ...@@ -204,4 +204,10 @@ typedef uint16 CommandId;
#define STATUS_BAD_PACKET (-7) #define STATUS_BAD_PACKET (-7)
#define STATUS_FOUND (1) #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 */ #endif /* POSTGRES_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment