Browse Source

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

pull/2/head
Alibek Omarov 6 years ago
parent
commit
6c006e087d
  1. 2
      common/port.h
  2. 2
      common/xash3d_types.h

2
common/port.h

@ -162,7 +162,7 @@ GNU General Public License for more details. @@ -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

2
common/xash3d_types.h

@ -31,7 +31,7 @@ typedef int qboolean; @@ -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;

Loading…
Cancel
Save