uitools_plat/cdl_api/inc/CdlCompilerToolkit/CdlCompat.h
author William Roberts <williamr@symbian.org>
Thu, 22 Jul 2010 16:43:58 +0100
branchGCC_SURGE
changeset 34 98594d0168b7
parent 28 682a0332b10b
permissions -rw-r--r--
Catchup to latest Symbian^4

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