diff -r f58d6ec98e88 -r b700e12870ca uitools_plat/cdl_api/inc/CdlCompilerToolkit/CdlCompat.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uitools_plat/cdl_api/inc/CdlCompilerToolkit/CdlCompat.h Mon Jan 18 21:13:05 2010 +0200 @@ -0,0 +1,23 @@ +// Cdlcompat.h + +#ifndef CDLCOMPAT_H +#define CDLCOMPAT_H + +/* _MSC_VER for checking VC6, so that we can keep this library still compilable using `tools'. */ +#if (defined(__MSVCRT__) || defined(_MSC_VER)) +#define CDL_W32 +#endif + +// path separator +/* #ifdef CDL_W32 */ +/* #define PATHSEP "\\" */ +/* #define PATHSEPCHAR '\\' */ +/* #else */ +#define PATHSEP "/" +#define PATHSEPCHAR '/' +/* #endif */ + +const char FORWARDSLASH = '/'; +const char BACKSLASH = '\\'; + +#endif