From 28a382a197c833273666c711b5042aa90ec36054 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 2 Feb 2005 08:21:44 +0000 Subject: [PATCH] /me whistles. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@865 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/qclib/progsint.h | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/engine/qclib/progsint.h b/engine/qclib/progsint.h index e99550c2e..2c094917a 100644 --- a/engine/qclib/progsint.h +++ b/engine/qclib/progsint.h @@ -1,27 +1,28 @@ #ifdef WIN32 -#ifndef AVAIL_ZLIB -#ifdef _MSC_VER -//#define AVAIL_ZLIB -#endif -#endif + #ifndef AVAIL_ZLIB + #ifdef _MSC_VER + //#define AVAIL_ZLIB + #endif + #endif -#include + #include -enum{false, true}; + enum{false, true}; #else -#include -#include + #include + #include -#include -#include -#include -#include + #include + #include + #include + #include -#ifndef __declspec -#define __declspec(mode) -#endif -typedef enum{false, true} boolean; + #ifndef __declspec + #define __declspec(mode) + #endif + + typedef enum{false, true} boolean; //#define _inline inline #endif 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 //optimisation //leave undefined if in doubt over os. -#ifndef WIN32 +#ifdef _WIN32 #define NOENDIAN #endif