summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-08-08 12:54:28 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-08-08 12:54:28 (GMT)
commit11d03c57de36e1e5085c706b4e6275baf04a2388 (patch)
tree2fa100e1f67f9c3d185df52dca23279b28651e67 /Python
parentb0db85ac1990ef98a184b30a8b73c9dd153d0abd (diff)
downloadcpython-11d03c57de36e1e5085c706b4e6275baf04a2388.zip
cpython-11d03c57de36e1e5085c706b4e6275baf04a2388.tar.gz
cpython-11d03c57de36e1e5085c706b4e6275baf04a2388.tar.bz2
Put conditional S_IFMT definition into pyport.h.
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c5
1 files changed, 0 insertions, 5 deletions
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 */