summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/types.h b/types.h
index c77a1e1..726b2d2 100644
--- a/types.h
+++ b/types.h
@@ -3,17 +3,22 @@
#include <stdint.h>
-typedef int8_t S8;
-typedef int16_t S16;
-typedef int32_t S32;
-typedef int64_t S64;
+typedef int8_t s8;
+typedef int16_t s16;
+typedef int32_t s32;
+typedef int64_t s64;
-typedef uint8_t U8;
-typedef uint16_t U16;
-typedef uint32_t U32;
-typedef uint64_t U64;
+typedef uint8_t u8;
+typedef uint16_t u16;
+typedef uint32_t u32;
+typedef uint64_t u64;
+
+#if FIGURE_IF_PLATFORM_SPECIFIC
+// @todo: Before including this, I need to make sure this is platform independant. If this is platform dependant,
+// I need to see if it is worth the hassle setting up something for each platform/compiler
#pragma section(".roglob", read)
#define read_only __declspec(allocate(".roglob"))
+#endif
-#endif // TYPES_H \ No newline at end of file
+#endif // TYPES_H