Skip to content
Snippets Groups Projects
Verified Commit 44f84f40 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Force byte order to little endian, for gcc

parent e32fc123
No related branches found
No related tags found
No related merge requests found
Pipeline #1768 passed with warnings
......@@ -31,4 +31,18 @@
#include <sys/resource.h>
#include <limits.h>
/* TODO: Forcing little endian, if you need a big endian system, fix this { */
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321
#endif
#ifndef LITTLE_ENDIAN
#define LITTLE_ENDIAN 1234
#endif
#ifndef BYTE_ORDER
#define BYTE_ORDER LITTLE_ENDIAN
#endif
/* } */
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment