equal
deleted
inserted
replaced
|
1 // Cdlcompat.h |
|
2 |
|
3 #ifndef CDLCOMPAT_H |
|
4 #define CDLCOMPAT_H |
|
5 |
|
6 /* _MSC_VER for checking VC6, so that we can keep this library still compilable using `tools'. */ |
|
7 #if (defined(__MSVCRT__) || defined(_MSC_VER)) |
|
8 #define CDL_W32 |
|
9 #endif |
|
10 |
|
11 // path separator |
|
12 /* #ifdef CDL_W32 */ |
|
13 /* #define PATHSEP "\\" */ |
|
14 /* #define PATHSEPCHAR '\\' */ |
|
15 /* #else */ |
|
16 #define PATHSEP "/" |
|
17 #define PATHSEPCHAR '/' |
|
18 /* #endif */ |
|
19 |
|
20 const char FORWARDSLASH = '/'; |
|
21 const char BACKSLASH = '\\'; |
|
22 |
|
23 #endif |