1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

mangle: change preprocessor define for macosx

__DARWIN is still not defined, use __APPLE__ instead
This commit is contained in:
Stefano Pigozzi 2012-08-01 08:46:20 +02:00
parent 38e705b3e4
commit f05013cf86

View File

@ -31,7 +31,7 @@
#define attribute_used #define attribute_used
#endif #endif
#if defined(_WIN32) || defined(__DARWIN) #if defined(_WIN32) || defined(__APPLE__)
#define EXTERN_PREFIX "_" #define EXTERN_PREFIX "_"
#else #else
#define EXTERN_PREFIX "" #define EXTERN_PREFIX ""