diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-04-21 07:30:30 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-04-21 07:30:30 +0000 |
commit | 6a95d4a478390a10231d9de08fea60f1539701ea (patch) | |
tree | e4a8d6817652565e30d8e5dac434e5517a510cc6 /PC | |
parent | 5d01ae6cd8c291d7bc122a2454e5dc49ad47497d (diff) | |
download | cpython-6a95d4a478390a10231d9de08fea60f1539701ea.tar.gz |
Enable universal newlines on Windows. Note that NEWS needs more words!
Diffstat (limited to 'PC')
-rw-r--r-- | PC/pyconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 852f354e29..081142f851 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -509,6 +509,9 @@ typedef int pid_t; /* Use Python's own small-block memory-allocator. */ #define WITH_PYMALLOC 1 +/* Enable \n, \r, \r\n line ends on import; also the 'U' mode flag for open. */ +#define WITH_UNIVERSAL_NEWLINES 1 + /* Define if you have clock. */ /* #define HAVE_CLOCK */ |