Move our winres.h out of the way so VS does not get confused

This commit is contained in:
Ben "root" Anderson
2013-10-31 20:43:51 -05:00
parent 095c6877c2
commit 48ca0a5908
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ if test "$host_os" = "mingw32"; then
# HACK: The prebuilts are 32bit only. Force the issue.
CFLAGS="$CFLAGS -m32"
CXXFLAGS="$CXXFLAGS -m32"
RESFLAGS="$RESFLAGS --target=pe-i386"
RESFLAGS="$RESFLAGS --target=pe-i386 -I$PWD/src/archutils/Win32/mingw"
fi
AM_CONDITIONAL(WITH_TTY, test "$with_tty" = "yes")
@@ -1,6 +1,2 @@
/* 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>
#endif