1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

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
This commit is contained in:
Uoti Urpala 2013-01-26 15:23:54 +02:00 committed by wm4
parent 83c56799cf
commit 9747227e47

View File

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