1 //----------------------------------------------------------------------------
2 //  Win32 EDGE System Specifics
3 //----------------------------------------------------------------------------
4 //
5 //  Copyright (c) 2003-2008  The EDGE Team.
6 //
7 //  This program is free software; you can redistribute it and/or
8 //  modify it under the terms of the GNU General Public License
9 //  as published by the Free Software Foundation; either version 2
10 //  of the License, or (at your option) any later version.
11 //
12 //  This program is distributed in the hope that it will be useful,
13 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 //  GNU General Public License for more details.
16 //
17 //----------------------------------------------------------------------------
18 //
19 #ifndef __WIN32_EPI_HEADER__
20 #define __WIN32_EPI_HEADER__
21 
22 // Sanity checking...
23 #ifdef __EPI_HEADER_SYSTEM_SPECIFIC__
24 #error "Two different system specific EPI headers included"
25 #else
26 #define __EPI_HEADER_SYSTEM_SPECIFIC__
27 #endif
28 
29 #if 0 // needed??
30 #define R_OK    0x02
31 #define W_OK    0x04
32 #endif
33 
34 #ifndef MAXPATH
35 #define MAXPATH  _MAX_PATH
36 #endif
37 
38 #define DIRSEPARATOR  '\\'
39 
40 #ifdef __GNUC__
41 #define GCCATTR(xyz) __attribute__ (xyz)
42 #else
43 #define GCCATTR(xyz)  /* nothing */
44 #endif
45 
46 
47 #define _WINDOWS
48 #define WIN32_LEAN_AND_MEAN
49 
50 #include <windows.h>
51 
52 #if 0  // needed??
53 #pragma warning( disable : 4290 )
54 #endif
55 
56 #endif /*__WIN32_EPI_HEADER__*/
57 
58 //--- editor settings ---
59 // vi:ts=4:sw=4:noexpandtab
60