diff options
author | wm4 <wm4@nowhere> | 2015-01-07 21:33:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-07 21:42:44 +0100 |
commit | f61b8b312d251f9c8dd33d03d1566fd73019bf08 (patch) | |
tree | a75dbd7b94e403be08ec09c72fbd74178096d315 /video/filter | |
parent | 5f398831d2aac9f65bc3499101f529fa51eebdf7 (diff) | |
download | mpv-f61b8b312d251f9c8dd33d03d1566fd73019bf08.tar.bz2 mpv-f61b8b312d251f9c8dd33d03d1566fd73019bf08.tar.xz |
win32: request UTF-16 API variants, Vista+ APIs, and COM C macros
Put the Vista+ (_WIN32_WINNT) and the COM C (COBJMACROS) defines into
the build system, instead of defining them over and over in the code.
Diffstat (limited to 'video/filter')
-rw-r--r-- | video/filter/vf_dlopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_dlopen.c b/video/filter/vf_dlopen.c index 7e546df32f..00e6245a2e 100644 --- a/video/filter/vf_dlopen.c +++ b/video/filter/vf_dlopen.c @@ -34,7 +34,7 @@ #ifdef _WIN32 # include <windows.h> -# define DLLOpen(name) LoadLibrary(name) +# define DLLOpen(name) LoadLibraryA(name) # define DLLClose(handle) FreeLibrary(handle) # define DLLSymbol(handle, name) ((void *)GetProcAddress(handle, name)) #else |