uitools_plat/cdl_api/inc/CdlCompilerToolkit/CdlCompat.h
changeset 1 b700e12870ca
child 11 99468bbbf3dc
equal deleted inserted replaced
0:f58d6ec98e88 1:b700e12870ca
       
     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