commit | 11d03c57de36e1e5085c706b4e6275baf04a2388 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Wed Aug 08 12:54:28 2001 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Wed Aug 08 12:54:28 2001 +0000 |
tree | 2fa100e1f67f9c3d185df52dca23279b28651e67 | |
parent | b0db85ac1990ef98a184b30a8b73c9dd153d0abd [diff] |
Put conditional S_IFMT definition into pyport.h.
diff --git a/Python/import.c b/Python/import.c index c5234ac..728e1cd 100644 --- a/Python/import.c +++ b/Python/import.c
@@ -23,11 +23,6 @@ #include <fcntl.h> #endif -#if defined(PYCC_VACPP) -/* VisualAge C/C++ Failed to Define MountType Field in sys/stat.h */ -#define S_IFMT (S_IFDIR|S_IFCHR|S_IFREG) -#endif - extern time_t PyOS_GetLastModificationTime(char *, FILE *); /* In getmtime.c */