summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-04-21 07:30:30 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-04-21 07:30:30 (GMT)
commit639295f0a5757bc187ada833950bca8476ebe36e (patch)
treef92789f0400d42bab97c7e4778c33901d859ab69 /PC
parent058b141ef77edcd8000bc169f3b9b7cc9d362ffa (diff)
downloadcpython-639295f0a5757bc187ada833950bca8476ebe36e.zip
cpython-639295f0a5757bc187ada833950bca8476ebe36e.tar.gz
cpython-639295f0a5757bc187ada833950bca8476ebe36e.tar.bz2
Enable universal newlines on Windows. Note that NEWS needs more words!
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 852f354..081142f 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 */