common: don't use SDL headers and types in refdll, if for some reason dll wants it

This commit is contained in:
Alibek Omarov 2019-03-30 03:06:23 +03:00
parent 8385563bef
commit 6c006e087d
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ GNU General Public License for more details.
#define USHRT_MAX 65535
#endif
#ifdef XASH_SDL
#if defined XASH_SDL && !defined REF_DLL
#include <SDL.h>
#endif

View File

@ -31,7 +31,7 @@ typedef int qboolean;
#if _MSC_VER == 1200
typedef __int64 integer64; //msvc6
#elif defined (XASH_SDL)
#elif defined (XASH_SDL) && !defined(REF_DLL)
typedef Uint64 integer64;
#else
typedef unsigned long long integer64;