win32: fix compiling in release builds
This commit is contained in:
parent
d988ba6192
commit
f1ea9cca7a
|
@ -1366,7 +1366,7 @@ void gfx3d_glFlush(u32 v)
|
|||
gfx3d.wbuffer = BIT1(v);
|
||||
}
|
||||
|
||||
static int gfx3d_ysort_compare(const void * elem1, const void * elem2)
|
||||
static int _CDECL_ gfx3d_ysort_compare(const void * elem1, const void * elem2)
|
||||
{
|
||||
int num1 = *(int*)elem1;
|
||||
int num2 = *(int*)elem2;
|
||||
|
|
|
@ -114,6 +114,12 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define _CDECL_ __cdecl
|
||||
#else
|
||||
#define _CDECL_
|
||||
#endif
|
||||
|
||||
#ifndef INLINE
|
||||
#if defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
||||
#define INLINE _inline
|
||||
|
|
Loading…
Reference in New Issue