mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Put conditional S_ISDIR definition(s) into pyport.h.
This commit is contained in:
parent
e00dde2087
commit
f9836ba4fe
4 changed files with 14 additions and 14 deletions
|
@ -28,10 +28,6 @@
|
|||
#define S_IFMT (S_IFDIR|S_IFCHR|S_IFREG)
|
||||
#endif
|
||||
|
||||
#ifndef S_ISDIR
|
||||
#define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
||||
#endif
|
||||
|
||||
extern time_t PyOS_GetLastModificationTime(char *, FILE *);
|
||||
/* In getmtime.c */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue