summaryrefslogtreecommitdiffstats
path: root/mangle.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-08-01 08:46:20 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2012-08-01 08:46:20 +0200
commitf05013cf86c9127a78267c2c55be19b6145d4c07 (patch)
tree224f79d15ac796cce362db72fd30a0aa5186a684 /mangle.h
parent38e705b3e4a314749c1a8dfc27cd2f3898d8e2da (diff)
downloadmpv-f05013cf86c9127a78267c2c55be19b6145d4c07.tar.bz2
mpv-f05013cf86c9127a78267c2c55be19b6145d4c07.tar.xz
mangle: change preprocessor define for macosx
__DARWIN is still not defined, use __APPLE__ instead
Diffstat (limited to 'mangle.h')
-rw-r--r--mangle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mangle.h b/mangle.h
index 05e579fb08..1769a3201f 100644
--- a/mangle.h
+++ b/mangle.h
@@ -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 ""