Move our winres.h out of the way so VS does not get confused
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ if test "$host_os" = "mingw32"; then
|
|||||||
# HACK: The prebuilts are 32bit only. Force the issue.
|
# HACK: The prebuilts are 32bit only. Force the issue.
|
||||||
CFLAGS="$CFLAGS -m32"
|
CFLAGS="$CFLAGS -m32"
|
||||||
CXXFLAGS="$CXXFLAGS -m32"
|
CXXFLAGS="$CXXFLAGS -m32"
|
||||||
RESFLAGS="$RESFLAGS --target=pe-i386"
|
RESFLAGS="$RESFLAGS --target=pe-i386 -I$PWD/src/archutils/Win32/mingw"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(WITH_TTY, test "$with_tty" = "yes")
|
AM_CONDITIONAL(WITH_TTY, test "$with_tty" = "yes")
|
||||||
|
|||||||
@@ -1,6 +1,2 @@
|
|||||||
/* Since VS generates WindowsResources.rc we can't edit it directly. */
|
/* Since VS generates WindowsResources.rc we can't edit it directly. */
|
||||||
#if defined(HAVE_WINRES_H)
|
|
||||||
#include <winres.h> // Just in case
|
|
||||||
#else
|
|
||||||
#include <afxres.h>
|
#include <afxres.h>
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user