*.rc: #include <windows.h>, not "winresrc.h".
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Fri, 4 Sep 2015 01:48:24 +0000 (21:48 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Fri, 4 Sep 2015 01:48:24 +0000 (21:48 -0400)
Also moved the include above the program-specific resource header.

It turns out that <windows.h> ends up including <winresrc.h> when
compiling using rc and/or windres, so there's no point in manually
specifying winresrc.h instead of windows.h.

src/gens-qt4/resources/win32/gens-qt4.rc
src/gens-sdl/win32/gens-sdl.rc

index ba6998f..bc8d6b1 100644 (file)
@@ -23,8 +23,8 @@
 
 // Resource script for Gens/GS II's Qt4 frontend.
 #include <config.gens-qt4.h>
+#include <windows.h>
 #include "gens-qt4.h"
-#include "winresrc.h"
 
 // git version
 #include "libgens/macros/git.h"
index 697de6d..9580988 100644 (file)
@@ -23,8 +23,8 @@
 
 // Resource script for Gens/GS II's basic SDL2 frontend.
 #include <config.gens-sdl.h>
+#include <windows.h>
 #include "gens-sdl.h"
-#include "winresrc.h"
 
 // git version
 #include "libgens/macros/git.h"