summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_compiler.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-02 22:31:02 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-02 22:31:02 +0900
commite0860518dfb5a5c6ba6584e3c1b5d7b203277dac (patch)
treecb3937f94d13e3fcc0db22107663e80c06906d6c /src/gallium/include/pipe/p_compiler.h
parent8d9a96386a5be7f15968bed63ca8b3e5555bbeeb (diff)
gallium: Replace XSTDCALL by PIPE_CDECL.
Diffstat (limited to 'src/gallium/include/pipe/p_compiler.h')
-rw-r--r--src/gallium/include/pipe/p_compiler.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h
index f6707385cd..b14260dd90 100644
--- a/src/gallium/include/pipe/p_compiler.h
+++ b/src/gallium/include/pipe/p_compiler.h
@@ -128,7 +128,7 @@ typedef unsigned char boolean;
/* This should match linux gcc cdecl semantics everywhere, so that we
* just codegen one calling convention on all platforms.
*/
-#ifdef WIN32
+#ifdef _MSC_VER
#define PIPE_CDECL __cdecl
#else
#define PIPE_CDECL
@@ -148,18 +148,4 @@ typedef unsigned char boolean;
-/**
- * For calling code-gen'd functions, phase out in favor of
- * PIPE_CDECL, above, which really means cdecl on all platforms, not
- * like the below...
- */
-#if !defined(XSTDCALL)
-#if defined(WIN32)
-#define XSTDCALL __stdcall /* phase this out */
-#else
-#define XSTDCALL /* XXX: NOTE! not STDCALL! */
-#endif
-#endif
-
-
#endif /* P_COMPILER_H */