Skip to content
Snippets Groups Projects
Commit 9d840d90 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

vlc_fixups: use the default defines for S_ISDIR/S_ISREG

The defines without the underscore are not set by default in the Windows SDK.
parent c207f78a
No related branches found
No related tags found
1 merge request!3131vlc_fixups: use the default defines for S_ISDIR/S_ISREG
Pipeline #305460 passed with stage
in 17 minutes and 16 seconds
......@@ -35,8 +35,8 @@
#define S_IWUSR _S_IWRITE
#define S_IRUSR _S_IREAD
#define S_IFIFO _S_IFIFO
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR)
#define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
#define S_ISBLK(m) (0)
// same type as statXXX structures st_mode field
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment