Define max ULONG type limit
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 33s
Builds / ExectOS (i686) (push) Successful in 29s

This commit is contained in:
Rafal Kupiec 2023-11-11 09:41:44 +01:00
parent 83c0accc5f
commit 91d65bb937
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -38,6 +38,7 @@
#define MAXSHORT 0x7FFF #define MAXSHORT 0x7FFF
#define MINLONG 0x80000000 #define MINLONG 0x80000000
#define MAXLONG 0x7FFFFFFF #define MAXLONG 0x7FFFFFFF
#define MAXULONG 0xFFFFFFFF
/* Preprocessor macros for defining a structure alignment and packing */ /* Preprocessor macros for defining a structure alignment and packing */
#define ALIGN(x) __attribute__((aligned(x))) #define ALIGN(x) __attribute__((aligned(x)))