mirror of https://code.videolan.org/videolan/vlc
vlc_fixups: don't for disable warnings if the user already did it
The defines may already be set to 0/1 in the build environment.
This commit is contained in:
parent
ab9b509df6
commit
a6c3cff1d2
|
@ -28,8 +28,12 @@
|
|||
|
||||
#if defined(_MSC_VER)
|
||||
// disable common warnings when compiling POSIX code
|
||||
#ifndef _CRT_NONSTDC_NO_WARNINGS
|
||||
#define _CRT_NONSTDC_NO_WARNINGS 1
|
||||
#endif
|
||||
#ifndef _CRT_SECURE_NO_WARNINGS
|
||||
#define _CRT_SECURE_NO_WARNINGS 1
|
||||
#endif
|
||||
|
||||
// sys/stat.h values
|
||||
#define S_IWUSR _S_IWRITE
|
||||
|
|
Loading…
Reference in New Issue