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
1 changed files with 1 additions and 1 deletions

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 ""