diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-06 05:36:51 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-06 05:36:51 +0000 |
commit | 37a609b27fcb67c28ff34d02ae3e82cd9903dd13 (patch) | |
tree | 037c29effb24f829edcf52ad172a4c0af0fcc14a /src/include/port/win32.h | |
parent | 3e23b68dac006e8deb0afa327e855258df8de064 (diff) | |
download | postgresql-37a609b27fcb67c28ff34d02ae3e82cd9903dd13.tar.gz postgresql-37a609b27fcb67c28ff34d02ae3e82cd9903dd13.zip |
Now that core functionality is depending on autoconf's AC_C_BIGENDIAN to be
right, there seems precious little reason to have a pile of hand-maintained
endianness definitions in src/include/port/*.h. Get rid of those, and make
the couple of places that used them depend on WORDS_BIGENDIAN instead.
Diffstat (limited to 'src/include/port/win32.h')
-rw-r--r-- | src/include/port/win32.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 96eaa57cf6a..fcf995ef8c0 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.73 2007/03/23 08:30:55 mha Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.74 2007/04/06 05:36:51 tgl Exp $ */ #if defined(_MSC_VER) || defined(__BORLANDC__) #define WIN32_ONLY_COMPILER @@ -299,20 +299,6 @@ typedef unsigned short mode_t; #define isinf(x) ((_fpclass(x) == _FPCLASS_PINF) || (_fpclass(x) == _FPCLASS_NINF)) #define isnan(x) _isnan(x) -#ifndef BIG_ENDIAN -#define BIG_ENDIAN 4321 -#endif -#ifndef LITTLE_ENDIAN -#define LITTLE_ENDIAN 1234 -#endif -#ifndef PDP_ENDIAN -#define PDP_ENDIAN 3412 -#endif - -#ifndef BYTE_ORDER -#define BYTE_ORDER LITTLE_ENDIAN -#endif - /* Pulled from Makefile.port in mingw */ #define DLSUFFIX ".dll" |