forked from openkylin/platform_build
Merge "Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN."
This commit is contained in:
commit
28a9c77026
|
@ -57,19 +57,6 @@
|
|||
*/
|
||||
#define HAVE_SYMLINKS
|
||||
|
||||
/*
|
||||
* Endianness of the target machine. Choose one:
|
||||
*
|
||||
* HAVE_ENDIAN_H -- have endian.h header we can include.
|
||||
* HAVE_LITTLE_ENDIAN -- we are little endian.
|
||||
* HAVE_BIG_ENDIAN -- we are big endian.
|
||||
*/
|
||||
#if (defined(__ppc__) || defined(__ppc64__))
|
||||
# define HAVE_BIG_ENDIAN
|
||||
#elif (defined(__i386__) || defined(__x86_64__))
|
||||
# define HAVE_LITTLE_ENDIAN
|
||||
#endif
|
||||
|
||||
/*
|
||||
* We need to choose between 32-bit and 64-bit off_t. All of our code should
|
||||
* agree on the same size. For desktop systems, use 64-bit values,
|
||||
|
|
|
@ -62,16 +62,6 @@
|
|||
*/
|
||||
#define HAVE_POSIX_CLOCKS
|
||||
|
||||
/*
|
||||
* Endianness of the target machine. Choose one:
|
||||
*
|
||||
* HAVE_ENDIAN_H -- have endian.h header we can include.
|
||||
* HAVE_LITTLE_ENDIAN -- we are little endian.
|
||||
* HAVE_BIG_ENDIAN -- we are big endian.
|
||||
*/
|
||||
#define HAVE_ENDIAN_H
|
||||
#define HAVE_LITTLE_ENDIAN
|
||||
|
||||
/*
|
||||
* Define if we have <malloc.h> header
|
||||
*/
|
||||
|
|
|
@ -57,16 +57,6 @@
|
|||
*/
|
||||
#define HAVE_POSIX_CLOCKS
|
||||
|
||||
/*
|
||||
* Endianness of the target machine. Choose one:
|
||||
*
|
||||
* HAVE_ENDIAN_H -- have endian.h header we can include.
|
||||
* HAVE_LITTLE_ENDIAN -- we are little endian.
|
||||
* HAVE_BIG_ENDIAN -- we are big endian.
|
||||
*/
|
||||
#define HAVE_ENDIAN_H
|
||||
#define HAVE_LITTLE_ENDIAN
|
||||
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
/* #define _LARGEFILE_SOURCE 1 */
|
||||
|
||||
|
|
|
@ -67,21 +67,6 @@
|
|||
*/
|
||||
#define HAVE_POSIX_CLOCKS
|
||||
|
||||
/*
|
||||
* Endianness of the target machine. Choose one:
|
||||
*
|
||||
* HAVE_ENDIAN_H -- have endian.h header we can include.
|
||||
* HAVE_LITTLE_ENDIAN -- we are little endian.
|
||||
* HAVE_BIG_ENDIAN -- we are big endian.
|
||||
*/
|
||||
#define HAVE_ENDIAN_H
|
||||
#if defined(__MIPSEB__)
|
||||
#define HAVE_BIG_ENDIAN
|
||||
#endif
|
||||
#if defined(__MIPSEL__)
|
||||
#define HAVE_LITTLE_ENDIAN
|
||||
#endif
|
||||
|
||||
/*
|
||||
* We need to choose between 32-bit and 64-bit off_t. All of our code should
|
||||
* agree on the same size. For desktop systems, use 64-bit values,
|
||||
|
|
|
@ -67,16 +67,6 @@
|
|||
*/
|
||||
#define HAVE_POSIX_CLOCKS
|
||||
|
||||
/*
|
||||
* Endianness of the target machine. Choose one:
|
||||
*
|
||||
* HAVE_ENDIAN_H -- have endian.h header we can include.
|
||||
* HAVE_LITTLE_ENDIAN -- we are little endian.
|
||||
* HAVE_BIG_ENDIAN -- we are big endian.
|
||||
*/
|
||||
#define HAVE_ENDIAN_H
|
||||
#define HAVE_LITTLE_ENDIAN
|
||||
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
/* #define _LARGEFILE_SOURCE 1 */
|
||||
|
||||
|
|
|
@ -57,16 +57,6 @@
|
|||
*/
|
||||
#define HAVE_POSIX_CLOCKS
|
||||
|
||||
/*
|
||||
* Endianness of the target machine. Choose one:
|
||||
*
|
||||
* HAVE_ENDIAN_H -- have endian.h header we can include.
|
||||
* HAVE_LITTLE_ENDIAN -- we are little endian.
|
||||
* HAVE_BIG_ENDIAN -- we are big endian.
|
||||
*/
|
||||
#define HAVE_ENDIAN_H
|
||||
#define HAVE_LITTLE_ENDIAN
|
||||
|
||||
/*
|
||||
* We need to choose between 32-bit and 64-bit off_t. All of our code should
|
||||
* agree on the same size. For desktop systems, use 64-bit values,
|
||||
|
|
|
@ -44,16 +44,6 @@
|
|||
*/
|
||||
#define HAVE_POSIX_CLOCKS
|
||||
|
||||
/*
|
||||
* Endianness of the target machine. Choose one:
|
||||
*
|
||||
* HAVE_ENDIAN_H -- have endian.h header we can include.
|
||||
* HAVE_LITTLE_ENDIAN -- we are little endian.
|
||||
* HAVE_BIG_ENDIAN -- we are big endian.
|
||||
*/
|
||||
#define HAVE_ENDIAN_H
|
||||
#define HAVE_LITTLE_ENDIAN
|
||||
|
||||
/*
|
||||
* We need to choose between 32-bit and 64-bit off_t. All of our code should
|
||||
* agree on the same size. For desktop systems, use 64-bit values,
|
||||
|
|
|
@ -87,19 +87,6 @@
|
|||
#define HAVE_WINSOCK
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Endianness of the target machine. Choose one:
|
||||
*
|
||||
* HAVE_ENDIAN_H -- have endian.h header we can include.
|
||||
* HAVE_LITTLE_ENDIAN -- we are little endian.
|
||||
* HAVE_BIG_ENDIAN -- we are big endian.
|
||||
*/
|
||||
#ifdef __CYGWIN__
|
||||
#define HAVE_ENDIAN_H
|
||||
#endif
|
||||
|
||||
#define HAVE_LITTLE_ENDIAN
|
||||
|
||||
/*
|
||||
* We need to choose between 32-bit and 64-bit off_t. All of our code should
|
||||
* agree on the same size. For desktop systems, use 64-bit values,
|
||||
|
|
Loading…
Reference in New Issue