mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-23 18:04:18 +08:00
a0cac0b4a2
Warning is: In file included from mingw-w64-headers/include/windows.h:70, from libsrc/dxerr.c:15, from libsrc/dxerr8w.c:20: mingw-w64-headers/include/winbase.h:2171: warning: "FindResource" redefined #define FindResource __MINGW_NAME_AW(FindResource) In file included from mingw-w64-headers/include/winbase.h:24, from mingw-w64-headers/include/windows.h:70, from libsrc/dxerr.c:15, from libsrc/dxerr8w.c:20: mingw-w64-headers/include/libloaderapi.h:62: note: this is the location of the previous definition #define FindResource FindResourceW Fix it by conditionally defining FindResource in winbase.h directly as FindResourceA for non-UNICODE builds and let libloaderapi.h to define FindResource as FindResourceW for UNICODE builds. Signed-off-by: LIU Hao <lh_mouse@126.com> |
||
---|---|---|
build-aux | ||
COPYING.MinGW-w64 | ||
COPYING.MinGW-w64-runtime | ||
mingw-w64-crt | ||
mingw-w64-doc | ||
mingw-w64-headers | ||
mingw-w64-libraries | ||
mingw-w64-tools | ||
.gitignore | ||
aclocal.m4 | ||
AUTHORS | ||
config.h.in | ||
configure | ||
configure.ac | ||
COPYING | ||
DISCLAIMER | ||
DISCLAIMER.PD | ||
Makefile.am | ||
Makefile.in |