mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-11 04:39:03 +01:00
Fix build
This commit is contained in:
parent
228872b781
commit
5a23310466
@ -17,7 +17,10 @@
|
||||
#define ROLL 2
|
||||
|
||||
#ifdef _WIN32
|
||||
#define HSPRITE HSPRITE_win32
|
||||
#include <windows.h>
|
||||
#undef HSPRITE
|
||||
|
||||
#else
|
||||
typedef struct point_s{
|
||||
int x;
|
||||
|
@ -39,7 +39,17 @@
|
||||
#define NOSERVICE
|
||||
#define NOMCX
|
||||
#define NOIME
|
||||
#define HSPRITE HSPRITE_w32
|
||||
#include "windows.h"
|
||||
#undef HSPRITE
|
||||
#ifdef __amd64__
|
||||
#ifndef min
|
||||
#define min(a,b) (((a) < (b)) ? (a) : (b))
|
||||
#endif
|
||||
#ifndef max
|
||||
#define max(a,b) (((a) > (b)) ? (a) : (b))
|
||||
#endif
|
||||
#endif
|
||||
#else // _WIN32
|
||||
#define FALSE 0
|
||||
#define TRUE (!FALSE)
|
||||
|
Loading…
Reference in New Issue
Block a user