summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/nine_flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/nine/nine_flags.h')
-rw-r--r--src/gallium/state_trackers/nine/nine_flags.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/nine_flags.h b/src/gallium/state_trackers/nine/nine_flags.h
new file mode 100644
index 00000000000..61686a7f60f
--- /dev/null
+++ b/src/gallium/state_trackers/nine/nine_flags.h
@@ -0,0 +1,14 @@
+
+
+#ifndef _NINE_FLAGS_H_
+#define _NINE_FLAGS_H_
+
+#include "pipe/p_compiler.h"
+
+/* Incoming 32 bits calls are 4-byte aligned.
+ * We need to realign them to be able to use
+ * SSE and to work with other libraries (llvm, etc)
+ */
+#define NINE_WINAPI WINAPI PIPE_ALIGN_STACK
+
+#endif /* _NINE_FLAGS_H_ */ \ No newline at end of file