Advanced Strategic Command
win32/watcom/global_os.h
Go to the documentation of this file.
1 // $Id: global_os.h,v 1.7 2009-04-18 13:48:41 mbickel Exp $
2 //
3 // $Log: not supported by cvs2svn $
4 // Revision 1.6 2001/05/18 22:30:30 mbickel
5 // The data file is now installed in the correct directory
6 // If the installation directory is changed with configure, the new path
7 // will now be compiled directly into ASC
8 //
9 // Revision 1.5 2000/10/31 18:08:28 mbickel
10 // Borland C now uses unsigned char ( tools/Makefile changed )
11 // Added header file for size_t to global_os.h
12 //
13 // Revision 1.4 2000/10/17 13:04:16 mbickel
14 // New terrainaccess reading/writing
15 // Added Win32 project files
16 //
17 // Revision 1.3 2000/10/16 14:34:14 mbickel
18 // Win32 port is now running fine.
19 // Removed MSVC project files and put them into a zip file in
20 // asc/source/win32/msvc/
21 //
22 // Revision 1.2 2000/10/14 13:07:05 mbickel
23 // Moved DOS version into own subdirectories
24 // Win32 version with Watcom compiles and links ! But doesn't run yet...
25 //
26 // Revision 1.1 2000/10/14 10:55:06 mbickel
27 // Added ASC-Win32 project files for Watcom
28 //
29 // Revision 1.1 2000/10/12 21:37:56 mbickel
30 // Further restructured platform dependant routines
31 //
32 // Revision 1.1 2000/10/12 20:21:43 mbickel
33 // Restructuring operating system dependant files
34 //
35 //
36 /*
37  This file is part of Advanced Strategic Command; http://www.asc-hq.de
38  Copyright (C) 1994-2010 Martin Bickel and Marc Schellenberger
39 
40  This program is free software; you can redistribute it and/or modify
41  it under the terms of the GNU General Public License as published by
42  the Free Software Foundation; either version 2 of the License, or
43  (at your option) any later version.
44 
45  This program is distributed in the hope that it will be useful,
46  but WITHOUT ANY WARRANTY; without even the implied warranty of
47  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48  GNU General Public License for more details.
49 
50  You should have received a copy of the GNU General Public License
51  along with this program; see the file COPYING. If not, write to the
52  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
53  Boston, MA 02111-1307 USA
54 */
55 
56 // this file takes care that the necessary header files for opendir / readdir
57 // are being included in basestrm.cpp
58 
59 #ifndef global_os_h_included
60  #define global_os_h_included
61 
62  #define HAVE_STRICMP
63  #define HAVE_ITOA
64  #define HAVE_EXCEPTION
65  #define HAVE_LIMITS
66  #define HAVE_LOG2
67  #define StaticClassVariable static
68  #ifdef __WATCOM_CPLUSPLUS__ // and not Watcom C
69  namespace std {};
70  #endif
71 
72  #define CASE_SENSITIVE_FILE_NAMES 0
73  #define USE_HOME_DIRECTORY 0
74 
75  #define sdlheader "sdl.h"
76  #include <wchar.h>
77 #endif