Move XSTDCALL definition to p_compiler.h

This commit is contained in:
Brian 2007-10-03 13:49:31 -06:00
parent 5356ba250c
commit 65996f27f4
3 changed files with 10 additions and 18 deletions

View file

@ -55,16 +55,6 @@ compute_clipmask(const float *clip, const float (*plane)[4], unsigned nr)
}
#if !defined(XSTDCALL)
#if defined(WIN32)
#define XSTDCALL __stdcall
#else
#define XSTDCALL
#endif
#endif
typedef void (XSTDCALL *codegen_function) (
const struct tgsi_exec_vector *input,
struct tgsi_exec_vector *output,

View file

@ -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 */

View file

@ -58,14 +58,6 @@ quad_shade_stage(struct quad_stage *qs)
}
#if !defined(XSTDCALL)
#if defined(WIN32)
#define XSTDCALL __stdcall
#else
#define XSTDCALL
#endif
#endif
typedef void (XSTDCALL *codegen_function)(
const struct tgsi_exec_vector *input,
struct tgsi_exec_vector *output,