Copy makefile
[reactos.git] / reactos / tools / rbuild / pch.h
1 // pre-compiled header stuff
2
3 #ifndef PCH_H
4 #define PCH_H
5
6 #ifdef _MSC_VER
7 #pragma warning ( disable : 4786 ) // identifier was truncated to '255' characters in the debug information
8 #endif//_MSC_VER
9
10 #include <string>
11 #include <vector>
12 #include <map>
13 #include <set>
14
15 #include <stdarg.h>
16
17 #ifdef _MSC_VER
18 #define MAX_PATH _MAX_PATH
19 #endif
20
21 #ifndef WIN32
22 #include <string.h>
23 #include <ctype.h>
24 #include <wctype.h>
25 #include <math.h>
26
27 inline char* strlwr ( char* str )
28 {
29 char* p = str;
30 while ( *p )
31 *p++ = tolower(*p);
32 return str;
33 }
34
35 inline char* strupr ( char* str )
36 {
37 char *c = str;
38 while ( *str++ )
39 toupper( *str );
40 return c;
41 }
42
43 #define _finite __finite
44 #define _isnan __isnan
45 #define stricmp strcasecmp
46 #define MAX_PATH PATH_MAX
47 #define _MAX_PATH PATH_MAX
48 #endif
49
50 #endif//PCH_H