2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-11 04:39:03 +01:00

Fix build

This commit is contained in:
mittorn 2016-04-27 21:37:46 +00:00
parent 228872b781
commit 5a23310466
2 changed files with 13 additions and 0 deletions

View File

@ -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;

View File

@ -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)