summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-05-05 20:07:59 (GMT)
committerGuido van Rossum <guido@python.org>1991-05-05 20:07:59 (GMT)
commit175a9ea8c8794039c65ec2c160316791dad3633e (patch)
treee27b4631ebbc08ec0e624d6bbab907006996df4b /Python
parenteba1b5efe1587b0879666fc9fc7c979bddbca48a (diff)
downloadcpython-175a9ea8c8794039c65ec2c160316791dad3633e.zip
cpython-175a9ea8c8794039c65ec2c160316791dad3633e.tar.gz
cpython-175a9ea8c8794039c65ec2c160316791dad3633e.tar.bz2
Pre-define MS-DOS separator
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c
index d1da001..67cd31e 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -40,6 +40,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define SEP ':'
#endif
+#ifdef MSDOS
+#define SEP '\\'
+#endif
+
#ifndef SEP
#define SEP '/'
#endif