uitools_plat/cdl_api/inc/CdlCompilerToolkit/CdlCompat.h
author hgs
Tue, 17 Aug 2010 17:21:18 +0800
changeset 40 d52333c0f5e2
parent 29 e21deeeacad2
permissions -rw-r--r--
201033

// 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