summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_compiler.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-10-03 13:49:31 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-10-03 13:50:12 -0600
commit65996f27f48e2212bf36e515aba82b6876398bfd (patch)
treec268a19001b5668ec2603f9a9d54bca5ebfe7cab /src/mesa/pipe/p_compiler.h
parent5356ba250c078c861f3a31a587b79570308cfc23 (diff)
Move XSTDCALL definition to p_compiler.h
Diffstat (limited to 'src/mesa/pipe/p_compiler.h')
-rw-r--r--src/mesa/pipe/p_compiler.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_compiler.h b/src/mesa/pipe/p_compiler.h
index 3dd6bc5c5a..020977b05b 100644
--- a/src/mesa/pipe/p_compiler.h
+++ b/src/mesa/pipe/p_compiler.h
@@ -80,4 +80,14 @@ typedef unsigned long long uint64;
+/** For calling code-gen'd functions */
+#if !defined(XSTDCALL)
+#if defined(WIN32)
+#define XSTDCALL __stdcall
+#else
+#define XSTDCALL
+#endif
+#endif
+
+
#endif /* P_COMPILER_H */