From: Kurt Zeilenga Date: Tue, 17 Nov 1998 22:49:47 +0000 (+0000) Subject: Move byte orderring stuff to ac/bytes.h X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1101 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fb7d6ce5df33c8e61f6104a46245eec4ffea090d;p=openldap Move byte orderring stuff to ac/bytes.h --- diff --git a/include/ac/socket.h b/include/ac/socket.h index 1527d02e5f..ced2879abf 100644 --- a/include/ac/socket.h +++ b/include/ac/socket.h @@ -78,23 +78,4 @@ #endif /* __alpha && !VMS */ -#ifndef BYTE_ORDER -/* - * Definitions for byte order, according to byte significance from low - * address to high. - */ -#define LITTLE_ENDIAN 1234 /* LSB first: i386, vax */ -#define BIG_ENDIAN 4321 /* MSB first: 68000, ibm, net */ -#define PDP_ENDIAN 3412 /* LSB first in word, MSW first in long */ - -/* assume autoconf's AC_C_BIGENDIAN has been run */ -/* if it hasn't, we assume (maybe falsely) the order is LITTLE ENDIAN */ -#ifdef WORDS_BIGENDIAN -#define BYTE_ORDER BIG_ENDIAN -#else -#define BYTE_ORDER LITTLE_ENDIAN -#endif - -#endif /* BYTE_ORDER */ - #endif /* _AC_SOCKET_H_ */