summaryrefslogtreecommitdiff
path: root/include/alignment.h
diff options
context:
space:
mode:
authorAlejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>2023-11-08 17:25:58 -0300
committerAlejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>2023-11-08 17:25:58 -0300
commit07cc2fe0e7f10d7178bf4b9b54a2ba194c4dc81b (patch)
tree9600d696c4dac6a21a0362b330ee960834f1e431 /include/alignment.h
parentba3513ebce981781871f8fdd1bbb16be35278002 (diff)
Environment_DrawSkyboxStarsImpl
Diffstat (limited to 'include/alignment.h')
-rw-r--r--include/alignment.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/alignment.h b/include/alignment.h
index f2fd65750..9e6fe11e6 100644
--- a/include/alignment.h
+++ b/include/alignment.h
@@ -14,6 +14,12 @@
#endif
#ifdef __sgi /* IDO compiler */
+#define UNALIGNED __unaligned
+#else
+#define UNALIGNED
+#endif
+
+#ifdef __sgi /* IDO compiler */
#define ALIGNOF(x) __builtin_alignof(x)
#elif (__STDC_VERSION__ >= 201112L) /* C11 */
#define ALIGNOF(x) _Alignof(x)