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

Skip to content

Commit ed79548

Browse files
committed
No need to make the S_ constants 32 bit (and its actually harmful because of multiple defines).
1 parent 0e1c24a commit ed79548

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Mac/Compat/macstat.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ struct macstat {
2020
char st_creator[4]; /* File creator, e.g. 'PYTH' */
2121
};
2222

23-
#define S_IFMT 0170000L
24-
#define S_IFDIR 0040000L
25-
#define S_IFREG 0100000L
23+
#define S_IFMT 0170000
24+
#define S_IFDIR 0040000
25+
#define S_IFREG 0100000
2626
#define S_IREAD 0400
2727
#define S_IWRITE 0200
2828
#define S_IEXEC 0100

0 commit comments

Comments
 (0)