base: define some byte order macros
This commit is contained in:
parent
9eea7c0677
commit
b72a8c7643
@ -1,3 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#define _LITTLE_ENDIAN
|
||||
|
||||
/* dummy */
|
||||
|
@ -4,3 +4,11 @@
|
||||
#include <stddef.h>
|
||||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
|
||||
#define __LITTLE_ENDIAN 1234
|
||||
#define __BIG_ENDIAN 4321
|
||||
#define __BYTE_ORDER __LITLE_ENDIAN
|
||||
|
||||
#define BIG_ENDIAN __BIG_ENDIAN
|
||||
#define LITTLE_ENDIAN __LITTLE_ENDIAN
|
||||
#define BYTE_ORDER __BYTE_ORDER
|
||||
|
Loading…
Reference in New Issue
Block a user