diff --git a/src/platforms/amd64/linux/syscodes.h b/src/platforms/amd64/linux/syscodes.h index 5335244..0c4aa1d 100644 --- a/src/platforms/amd64/linux/syscodes.h +++ b/src/platforms/amd64/linux/syscodes.h @@ -2,13 +2,13 @@ #include "../../common/types.h" -const UInt8 SYSCODE_READ = 0x00; -const UInt8 SYSCODE_WRITE = 0x01; +#define SYSCODE_READ 0x00 +#define SYSCODE_WRITE 0x01 -const UInt8 SYSCODE_MEMORY_MAP = 0x09; +#define SYSCODE_MEMORY_MAP 0x09 -const UInt8 SYSCODE_MEMORY_UNMAP = 0x0b; +#define SYSCODE_MEMORY_UNMAP 0x0b -const UInt8 SYSCODE_NANO_SLEEP = 0x23; +#define SYSCODE_NANO_SLEEP 0x23 -const UInt16 SYSCODE_GET_RANDOM = 0x013e; +#define SYSCODE_GET_RANDOM 0x013e