diff options
author | Uoti Urpala <uau@mplayer2.org> | 2013-01-26 15:23:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-27 13:30:53 +0100 |
commit | 9747227e47326851c41fceb386d72f498fba7f87 (patch) | |
tree | 90e1d208225d75d16d9ef994e331335c5935954c /compat | |
parent | 83c56799cfbed5109b4a798fc3c666044b8e20d5 (diff) |
windows support: support 64-bit MS Windows in EXTERN_PREFIX definition
The EXTERN_PREFIX definition changed in 94b7db2 needs a separate case
for _WIN64, as MinGW defines both that and _WIN32 but there is no prefix
unlike 32-bit case.
Patch by redxii on http://devel.mplayer2.org/ticket/226
Diffstat (limited to 'compat')
-rw-r--r-- | compat/mangle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/mangle.h b/compat/mangle.h index 1769a3201f..fbec0d0b92 100644 --- a/compat/mangle.h +++ b/compat/mangle.h @@ -31,7 +31,7 @@ #define attribute_used #endif -#if defined(_WIN32) || defined(__APPLE__) +#if defined(_WIN32) && !defined(_WIN64) || defined(__APPLE__) #define EXTERN_PREFIX "_" #else #define EXTERN_PREFIX "" |