diff options
Diffstat (limited to 'rts/PathUtils.h')
-rw-r--r-- | rts/PathUtils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/PathUtils.h b/rts/PathUtils.h index 0b35b214e0..b1746f8769 100644 --- a/rts/PathUtils.h +++ b/rts/PathUtils.h @@ -20,6 +20,7 @@ #define open wopen #define WSTR(s) L##s #define pathprintf swprintf +#define pathcopy wcscpy #define pathsize sizeof(wchar_t) #else #define pathcmp strcmp @@ -30,6 +31,7 @@ #define WSTR(s) s #define pathprintf snprintf #define pathsize sizeof(char) +#define pathcopy strcpy #endif pathchar* pathdup(pathchar *path); |