//---------------------------------------------------------------------------- // Win32 EDGE System Specifics //---------------------------------------------------------------------------- // // Copyright (c) 2003-2005 The EDGE Team. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // //---------------------------------------------------------------------------- // #ifndef __WIN32_EPI_HEADER__ #define __WIN32_EPI_HEADER__ // Sanity checking... #ifdef __EPI_HEADER_SYSTEM_SPECIFIC__ #error "Two different system specific EPI headers included" #else #define __EPI_HEADER_SYSTEM_SPECIFIC__ #endif #ifndef NULL #define NULL 0 #endif // GNU C #ifdef __GNUC__ #ifndef STRICT #define STRICT #endif #define _WINDOWS #define WIN32_LEAN_AND_MEAN #define FLOAT_IEEE_754 typedef long long i64_t; /* #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define DIRSEPARATOR '\\' */ #define GCCATTR(xyz) __attribute__ (xyz) #define INLINE inline #define EDGE_INLINE(decl, body) extern decl; #define strcasecmp stricmp #endif /* __GNUC__ */ // Microsoft Visual C++ for Win32 #ifdef _GATESY_ #define WIN32_LEAN_AND_MEAN typedef __int64 i64_t; #define FLOAT_IEEE_754 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define DIRSEPARATOR '\\' #define GCCATTR(xyz) /* nothing */ #define INLINE _inline #define EDGE_INLINE(decl, body) extern decl; #define MAXPATH _MAX_PATH #define strcasecmp stricmp #define M_PI 3.14159265358979323846 #pragma warning( disable : 4290 ) #endif /* __GATESY__ */ #endif /* __WIN32_EPI_HEADER__ */