From: Guido van Rossum Date: Fri, 30 Jun 2000 22:45:12 +0000 (+0000) Subject: Crude way to fix a problem on AIX: #undef STAT before defining it. X-Git-Tag: v2.0b1~1180 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64529cd7cebf08c2c3f7be64f4b3e54c2ae0f25c;p=thirdparty%2FPython%2Fcpython.git Crude way to fix a problem on AIX: #undef STAT before defining it. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index f897d0a6d86f..1afba39224ec 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