summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-30 22:45:12 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-30 22:45:12 (GMT)
commit64529cd7cebf08c2c3f7be64f4b3e54c2ae0f25c (patch)
tree0ade5b142dcc8649bb4ac038875839b2238dd2d6 /Modules/posixmodule.c
parent55a4f4a528b6eade932b01d7a0bee0a34fae1f6a (diff)
downloadcpython-64529cd7cebf08c2c3f7be64f4b3e54c2ae0f25c.zip
cpython-64529cd7cebf08c2c3f7be64f4b3e54c2ae0f25c.tar.gz
cpython-64529cd7cebf08c2c3f7be64f4b3e54c2ae0f25c.tar.bz2
Crude way to fix a problem on AIX: #undef STAT before defining it.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index f897d0a..1afba39 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -285,6 +285,7 @@ extern int lstat Py_PROTO((const char *, struct stat *));
#endif
/* choose the appropriate stat and fstat functions and return structs */
+#undef STAT
#ifdef MS_WIN64
# define STAT _stati64
# define FSTAT _fstati64