uitools_plat/cdl_api/inc/CdlCompilerToolkit/CdlCompat.h
author William Roberts <williamr@symbian.org>
Sun, 14 Mar 2010 13:13:44 +0000
branchCompilerCompatibility
changeset 13 a19656173f66
parent 1 b700e12870ca
child 18 8cac7c60e3d2
child 19 99468bbbf3dc
permissions -rw-r--r--
Automatic merge from PDK_3.0.h

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