From e2935a2ae46f69d657c67345578325080eac7c8f Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 13 Dec 2006 11:14:04 +0000 Subject: [PATCH] added path separator chars --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40212 --- core/sm_platform.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/sm_platform.h b/core/sm_platform.h index 1809e908..5a6ea71f 100644 --- a/core/sm_platform.h +++ b/core/sm_platform.h @@ -18,6 +18,8 @@ #include #define PLATFORM_LIB_EXT "dll" #define PLATFORM_MAX_PATH MAX_PATH +#define PLATFORM_SEP_CHAR '\\' +#define PLATFORM_SEP_ALTCHAR '/' #else if defined __linux__ #define PLATFORM_LINUX #define PLATFORM_POSIX @@ -25,6 +27,8 @@ #include #define PLATFORM_MAX_PATH PATH_MAX #define PLATFORM_LIB_EXT "so" +#define PLATFORM_SEP_CHAR '/' +#define PLATFORM_SEP_ALTCHAR '\\' #endif #endif //_INCLUDE_SOURCEMOD_PLATFORM_H_