diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/al/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/al/types.h b/include/al/types.h index 136d8bd..45a8a54 100644 --- a/include/al/types.h +++ b/include/al/types.h @@ -35,6 +35,10 @@ typedef uint64_t u64; typedef float f32; typedef double f64; +// `long` can be a distinctly different size based on the toolchain we're using. +// Use `long` and `ulong`, if needed, for API compatibility. +typedef unsigned long ulong; + #if defined _MSC_VER #include <BaseTsd.h> typedef SSIZE_T ssize_t; |