things for today
This commit is contained in:
@@ -40,16 +40,16 @@
|
||||
#define SPIDER_LITTLE_ENDIAN 1
|
||||
#define SPIDER_BIG_ENDIAN 0
|
||||
#else
|
||||
#error "Unsupported or unknown architecture endianness!"
|
||||
#error "[Spider Machine] Unsupported or unknown architecture endianness!"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Safety checks
|
||||
#if !defined(SPIDER_LITTLE_ENDIAN) || !defined(SPIDER_BIG_ENDIAN)
|
||||
#error "Missed at least one little/big endian macros"
|
||||
#error "[Spider Machine] Missed at least one little/big endian macros"
|
||||
#endif
|
||||
#if SPIDER_LITTLE_ENDIAN == 1 && SPIDER_BIG_ENDIAN == 1
|
||||
#warning "Mixed endian machine detected, unsupported! Be cautious adventurer!"
|
||||
#warning "[Spider Machine] Mixed endian machine detected, unsupported! Be cautious adventurer!"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
#define SPIDER_BEGIN_PACKED
|
||||
#define SPIDER_END_PACKED
|
||||
#define SPIDER_PACKED_STRUCT(decl) decl
|
||||
#warning "MODEM: Compiler packing not supported. Memory layout may be unstable!"
|
||||
#warning "[Spider Machine] Compiler packing not supported. Memory layout may be unstable!"
|
||||
#endif
|
||||
|
||||
namespace spider {}
|
||||
|
||||
Reference in New Issue
Block a user