diff options
Diffstat (limited to 'src/mesa/pipe/p_compiler.h')
-rw-r--r-- | src/mesa/pipe/p_compiler.h | 10 |
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 */ |