Remove definitions for __LITTLE_ENDIAN, __BIG_ENDIAN, and __BYTE_ORDER (#2807)
These are already defined in /usr/include/endian.h for all tested configurations Related to #2797
This commit is contained in:
parent
36e00806de
commit
8c049d914e
|
@ -48,14 +48,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
/* FIXME: hard-wired */
|
|
||||||
# define __LITTLE_ENDIAN 1234
|
|
||||||
# define __BIG_ENDIAN 4321
|
|
||||||
# define __BYTE_ORDER __LITTLE_ENDIAN
|
|
||||||
|
|
||||||
|
|
||||||
# define __BYTE_ORDER __LITTLE_ENDIAN
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# define UNUSED __attribute__((unused))
|
# define UNUSED __attribute__((unused))
|
||||||
# define NORETURN __attribute__((noreturn))
|
# define NORETURN __attribute__((noreturn))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user