summaryrefslogtreecommitdiff
path: root/Include/osdefs.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-04-05 20:41:37 +0000
committerMartin v. Löwis <martin@v.loewis.de>2008-04-05 20:41:37 +0000
commit790465fd90e8a72590386465f518db9e67ab843f (patch)
tree62e3e47f6f97120dfdfc94a87dc1a06414d95a13 /Include/osdefs.h
parentb9279bc88f867d9d3b6606502a678b137329b54d (diff)
downloadcpython-git-790465fd90e8a72590386465f518db9e67ab843f.tar.gz
Change command line processing API to use wchar_t.
Fixes #2128.
Diffstat (limited to 'Include/osdefs.h')
-rw-r--r--Include/osdefs.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h
index d0305e9c7b..90b430a635 100644
--- a/Include/osdefs.h
+++ b/Include/osdefs.h
@@ -12,20 +12,20 @@ extern "C" {
#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2)
#if defined(PYOS_OS2) && defined(PYCC_GCC)
#define MAXPATHLEN 260
-#define SEP '/'
-#define ALTSEP '\\'
+#define SEP L'/'
+#define ALTSEP L'\\'
#else
-#define SEP '\\'
-#define ALTSEP '/'
+#define SEP L'\\'
+#define ALTSEP L'/'
#define MAXPATHLEN 256
#endif
-#define DELIM ';'
+#define DELIM L';'
#endif
#endif
/* Filename separator */
#ifndef SEP
-#define SEP '/'
+#define SEP L'/'
#endif
/* Max pathname length */
@@ -39,7 +39,7 @@ extern "C" {
/* Search path entry delimiter */
#ifndef DELIM
-#define DELIM ':'
+#define DELIM L':'
#endif
#ifdef __cplusplus