From 1200d949cbd43b6c95f6e4f227eb8a374a5faf34 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 15 Mar 2014 00:56:21 -0400 Subject: [PATCH] Add missing CORRECT_PATH_SEPARATOR_S and INCORRECT_PATH_SEPARATOR_S defines. --HG-- extra : rebase_source : cb6c6b8d501a6ceac9a394bbb2caa0d86098c9b3 --- public/tier1/strtools.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/tier1/strtools.h b/public/tier1/strtools.h index e0f3981e..29358ada 100644 --- a/public/tier1/strtools.h +++ b/public/tier1/strtools.h @@ -217,10 +217,14 @@ typedef char * va_list; #ifdef _WIN32 #define CORRECT_PATH_SEPARATOR '\\' +#define CORRECT_PATH_SEPARATOR_S "\\" #define INCORRECT_PATH_SEPARATOR '/' +#define INCORRECT_PATH_SEPARATOR_S "/" #elif POSIX #define CORRECT_PATH_SEPARATOR '/' +#define CORRECT_PATH_SEPARATOR_S "/" #define INCORRECT_PATH_SEPARATOR '\\' +#define INCORRECT_PATH_SEPARATOR_S "\\" #endif int V_vsnprintf( char *pDest, int maxLen, const char *pFormat, va_list params );