From 9747227e47326851c41fceb386d72f498fba7f87 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sat, 26 Jan 2013 15:23:54 +0200 Subject: [PATCH] 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 --- compat/mangle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ""