mirror of https://github.com/python/cpython.git
No need to make the S_ constants 32 bit (and its actually harmful because of multiple defines).
This commit is contained in:
parent
0e1c24ab89
commit
ed79548a84
|
@ -20,9 +20,9 @@ struct macstat {
|
|||
char st_creator[4]; /* File creator, e.g. 'PYTH' */
|
||||
};
|
||||
|
||||
#define S_IFMT 0170000L
|
||||
#define S_IFDIR 0040000L
|
||||
#define S_IFREG 0100000L
|
||||
#define S_IFMT 0170000
|
||||
#define S_IFDIR 0040000
|
||||
#define S_IFREG 0100000
|
||||
#define S_IREAD 0400
|
||||
#define S_IWRITE 0200
|
||||
#define S_IEXEC 0100
|
||||
|
|
Loading…
Reference in New Issue