|
|
@ -20,11 +20,8 @@ GNU General Public License for more details. |
|
|
|
#include "build.h" |
|
|
|
#include "build.h" |
|
|
|
|
|
|
|
|
|
|
|
#if !defined(_WIN32) |
|
|
|
#if !defined(_WIN32) |
|
|
|
#include <limits.h> |
|
|
|
|
|
|
|
#include <dlfcn.h> |
|
|
|
#include <dlfcn.h> |
|
|
|
#include <stdlib.h> |
|
|
|
|
|
|
|
#include <unistd.h> |
|
|
|
#include <unistd.h> |
|
|
|
#include <string.h> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define PATH_SPLITTER "/" |
|
|
|
#define PATH_SPLITTER "/" |
|
|
|
|
|
|
|
|
|
|
@ -130,13 +127,9 @@ GNU General Public License for more details. |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif //WIN32
|
|
|
|
#endif //WIN32
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef INT_MAX |
|
|
|
#include <stdlib.h> |
|
|
|
#define INT_MAX 2147483647 |
|
|
|
#include <string.h> |
|
|
|
#endif |
|
|
|
#include <limits.h> |
|
|
|
|
|
|
|
|
|
|
|
#ifndef USHRT_MAX |
|
|
|
|
|
|
|
#define USHRT_MAX 65535 |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined XASH_SDL && !defined REF_DLL |
|
|
|
#if defined XASH_SDL && !defined REF_DLL |
|
|
|
#include <SDL.h> |
|
|
|
#include <SDL.h> |
|
|
|