Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 19063:9cc67aafec6c legacy-trunk
Put conditional S_IFMT definition into pyport.h.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Wed, 08 Aug 2001 12:54:28 +0000 |
| parents | f51b13bf5d54 |
| children | 5b87ee44000b |
line wrap: on
line diff
--- a/Python/import.c Wed Aug 08 10:39:03 2001 +0000 +++ b/Python/import.c Wed Aug 08 12:54:28 2001 +0000 @@ -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 */
