ENDIAN_LITTLE/ENDIAN_BIG check
This commit is contained in:
@@ -27,6 +27,10 @@
|
|||||||
#include "archutils/Unix/arch_setup.h"
|
#include "archutils/Unix/arch_setup.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(ENDIAN_LITTLE) && !defined(ENDIAN_BIG)
|
||||||
|
#error Neither ENDIAN_LITTLE nor ENDIAN_BIG defined
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Make sure everyone has min and max: */
|
/* Make sure everyone has min and max: */
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user