diff options
| author | 2024-10-19 11:29:05 -0400 | |
|---|---|---|
| committer | 2024-10-19 11:29:05 -0400 | |
| commit | e23e7af2ae14073f7fec7c8992976f9ae9e489c8 (patch) | |
| tree | 83de1717cdd110f7aeada273a6e12d1637001ef2 /include | |
| parent | 84f5e594d47abac9a0a450f70ceb2f79322a5c3a (diff) | |
| download | libalabaster-e23e7af2ae14073f7fec7c8992976f9ae9e489c8.tar.gz libalabaster-e23e7af2ae14073f7fec7c8992976f9ae9e489c8.tar.bz2 libalabaster-e23e7af2ae14073f7fec7c8992976f9ae9e489c8.zip | |
types: Typedef ulong
Signed-off-by: Andrew Opalach <andrew@akon.city>
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; |