summarylogtreecommitdiffstats
path: root/getline.patch
blob: a7449c26dd0d9ff3f10347dd653dc3aadc754e81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- Python-1.5.2/Objects/fileobject.c.orig	2012-05-01 14:39:04.857802025 +0300
+++ Python-1.5.2/Objects/fileobject.c	2012-05-01 14:39:29.663531501 +0300
@@ -64,6 +64,9 @@
 
 #include <errno.h>
 
+// Work around name conflict with newer stdio.h
+#define getline py_getline
+
 typedef struct {
 	PyObject_HEAD
 	FILE *f_fp;