1
mirror of https://github.com/mpv-player/mpv synced 2024-09-28 17:52:52 +02: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
#endif
#if defined(_WIN32) || defined(__DARWIN)
#if defined(_WIN32) || defined(__APPLE__)
#define EXTERN_PREFIX "_"
#else
#define EXTERN_PREFIX ""