diff options
author | wm4 <wm4@nowhere> | 2015-01-07 21:33:14 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-01-25 17:00:18 +0900 |
commit | f4a9c9424f968eb642a2c953ed4588913bdfae1d (patch) | |
tree | 632bc3a86baf652d0f021bae1002c1b608df230f /video/filter/vf_dlopen.c | |
parent | d9da0c9ce9105b2097d9463e4787b5fac56412cf (diff) | |
download | mpv-f4a9c9424f968eb642a2c953ed4588913bdfae1d.tar.bz2 mpv-f4a9c9424f968eb642a2c953ed4588913bdfae1d.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.
Conflicts:
video/out/w32_common.c
waftools/checks/custom.py
Diffstat (limited to 'video/filter/vf_dlopen.c')
-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 118a4911f2..1162f37680 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 |