/me whistles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@865 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8adc3aafcc
commit
28a382a197
1 changed files with 19 additions and 18 deletions
|
@ -1,27 +1,28 @@
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
|
||||||
#ifndef AVAIL_ZLIB
|
#ifndef AVAIL_ZLIB
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
//#define AVAIL_ZLIB
|
//#define AVAIL_ZLIB
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
enum{false, true};
|
enum{false, true};
|
||||||
#else
|
#else
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#ifndef __declspec
|
#ifndef __declspec
|
||||||
#define __declspec(mode)
|
#define __declspec(mode)
|
||||||
#endif
|
#endif
|
||||||
typedef enum{false, true} boolean;
|
|
||||||
|
typedef enum{false, true} boolean;
|
||||||
//#define _inline inline
|
//#define _inline inline
|
||||||
#endif
|
#endif
|
||||||
typedef unsigned char qbyte;
|
typedef unsigned char qbyte;
|
||||||
|
@ -300,7 +301,7 @@ eval_t *GetEdictFieldValue(progfuncs_t *progfuncs, struct edict_s *ed, char *nam
|
||||||
//this is windows - all files are written with this endian standard
|
//this is windows - all files are written with this endian standard
|
||||||
//optimisation
|
//optimisation
|
||||||
//leave undefined if in doubt over os.
|
//leave undefined if in doubt over os.
|
||||||
#ifndef WIN32
|
#ifdef _WIN32
|
||||||
#define NOENDIAN
|
#define NOENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue