]> granicus.if.org Git - python/commitdiff
Crude way to fix a problem on AIX: #undef STAT before defining it.
authorGuido van Rossum <guido@python.org>
Fri, 30 Jun 2000 22:45:12 +0000 (22:45 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 30 Jun 2000 22:45:12 +0000 (22:45 +0000)
Modules/posixmodule.c

index f897d0a6d86f10b1343899a665741c48232a4d50..1afba39224ec056c95e947115f42a690be542948 100644 (file)
@@ -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