summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/al/types.h34
1 files changed, 8 insertions, 26 deletions
diff --git a/include/al/types.h b/include/al/types.h
index c164127..3a04539 100644
--- a/include/al/types.h
+++ b/include/al/types.h
@@ -17,40 +17,22 @@
#define _XOPEN_SOURCE 500
#endif
-#if _WIN32 || _WIN64
-#if _WIN64
-#define PTR_IS_64
-#else
-#define PTR_IS_32
-#endif
-#elif __GNUC__
-#if __x86_64__ || __ppc64__
-#define PTR_IS_64
-#else
-#define PTR_IS_32
-#endif
-#elif UINTPTR_MAX > UINT_MAX
-#define PTR_IS_64
-#else
-#define PTR_IS_32
-#endif
-
-#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
-#include <sys/types.h>
+#include <stdint.h>
#include <float.h>
+#include <sys/types.h>
-typedef uint8_t u8;
-typedef int8_t s8;
+typedef int8_t s8;
+typedef uint8_t u8;
+typedef int16_t s16;
typedef uint16_t u16;
-typedef int16_t s16;
+typedef int32_t s32;
typedef uint32_t u32;
-typedef int32_t s32;
+typedef int64_t s64;
typedef uint64_t u64;
-typedef int64_t s64;
-typedef float f32;
+typedef float f32;
typedef double f64;
#ifdef _MSC_VER