Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11d03c5

Browse files
committed
Put conditional S_IFMT definition into pyport.h.
1 parent b0db85a commit 11d03c5

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Python/import.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@
2323
#include <fcntl.h>
2424
#endif
2525

26-
#if defined(PYCC_VACPP)
27-
/* VisualAge C/C++ Failed to Define MountType Field in sys/stat.h */
28-
#define S_IFMT (S_IFDIR|S_IFCHR|S_IFREG)
29-
#endif
30-
3126
extern time_t PyOS_GetLastModificationTime(char *, FILE *);
3227
/* In getmtime.c */
3328

0 commit comments

Comments
 (0)