Advanced Strategic Command
unix/global_os.h
Go to the documentation of this file.
1 /*
2  This file is part of Advanced Strategic Command; http://www.asc-hq.de
3  Copyright (C) 1994-2010 Martin Bickel and Marc Schellenberger
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; see the file COPYING. If not, write to the
17  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18  Boston, MA 02111-1307 USA
19 */
20 
21 // this file takes care that the necessary header files for opendir / readdir
22 // are being included in basestrm.cpp
23 
24 #ifndef global_os_h_included
25  #define global_os_h_included
26 
27  #ifdef PACKAGE
28  #undef PACKAGE
29  #endif
30 
31  #ifdef PACKAGE_NAME
32  #undef PACKAGE_NAME
33  #endif
34 
35  #ifdef PACKAGE_VERSION
36  #undef PACKAGE_VERSION
37  #endif
38 
39  #ifdef PACKAGE_STRING
40  #undef PACKAGE_STRING
41  #endif
42 
43  #ifdef PACKAGE_TARNAME
44  #undef PACKAGE_TARNAME
45  #endif
46 
47 
48  #ifdef VERSION
49  #undef VERSION
50  #endif
51 
52  #include "config.h"
53  // generated by autoconf
54 
55  #ifdef PACKAGE
56  #undef PACKAGE
57  #endif
58 
59  #ifdef VERSION
60  #undef VERSION
61  #endif
62 
63  #ifdef PACKAGE_NAME
64  #undef PACKAGE_NAME
65  #endif
66 
67  #ifdef PACKAGE_VERSION
68  #undef PACKAGE_VERSION
69  #endif
70 
71  #ifdef PACKAGE_STRING
72  #undef PACKAGE_STRING
73  #endif
74 
75  #ifdef PACKAGE_TARNAME
76  #undef PACKAGE_TARNAME
77  #endif
78 
79 
80  typedef unsigned long PointerSizedInt;
81 
82 
83  #ifdef __cplusplus
84  #include <string> // some Standard library include file to define the namespace std
85  using namespace std;
86  #endif
87 
88 
89  #ifndef HAVE_STRICMP
90  #define stricmp strcasecmp
91  #define strcmpi strcasecmp
92  #define strnicmp strncasecmp
93  #define strncmpi strncasecmp
94  #endif
95 
96  #define CASE_SENSITIVE_FILE_NAMES 1
97  #define USE_HOME_DIRECTORY 1
98 
99 
100 #endif
unsigned long PointerSizedInt