Lowercase windows.h includes for MinGW cross-compiling compatibility

This commit is contained in:
2015-09-13 14:31:06 -04:00
parent fa1689d7fe
commit 6b71200110
8 changed files with 8 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
// Include this last because some #defines in the Windows headers cause compile errors in my headers. // Include this last because some #defines in the Windows headers cause compile errors in my headers.
// Fortunately they're on symbols not used in this file, so this should work. // Fortunately they're on symbols not used in this file, so this should work.
#include <Windows.h> #include <windows.h>
#include <gl/GL.h> #include <gl/GL.h>
#undef HELP_INDEX // Except this one #undef HELP_INDEX // Except this one

View File

@@ -9,7 +9,7 @@
// Include this last because some #defines in the Windows headers cause compile errors in my headers. // Include this last because some #defines in the Windows headers cause compile errors in my headers.
// Fortunately they're on symbols not used in this file, so this should work. // Fortunately they're on symbols not used in this file, so this should work.
#include <Windows.h> #include <windows.h>
// This is the index of each menu on the menubar // This is the index of each menu on the menubar
enum { enum {

View File

@@ -9,7 +9,7 @@
// Include this last because some #defines in the Windows headers cause compile errors in my headers. // Include this last because some #defines in the Windows headers cause compile errors in my headers.
// Fortunately they're on symbols not used in this file, so this should work. // Fortunately they're on symbols not used in this file, so this should work.
#include <Windows.h> #include <windows.h>
#undef HELP_INDEX // Except this one. #undef HELP_INDEX // Except this one.
// This is the index of each menu on the menubar // This is the index of each menu on the menubar

View File

@@ -1,6 +1,6 @@
#include "cursors.hpp" #include "cursors.hpp"
#include <Windows.h> #include <windows.h>
#include <exception> #include <exception>
#include <SFML/Graphics/RenderWindow.hpp> #include <SFML/Graphics/RenderWindow.hpp>
#include "restypes.hpp" #include "restypes.hpp"

View File

@@ -1,7 +1,7 @@
#include <sstream> #include <sstream>
#include <iostream> #include <iostream>
#include <Windows.h> #include <windows.h>
// Debugger streambuf adapted from here: <http://www.codeproject.com/Articles/1053/Using-an-output-stream-for-debugging> // Debugger streambuf adapted from here: <http://www.codeproject.com/Articles/1053/Using-an-output-stream-for-debugging>

View File

@@ -13,7 +13,7 @@
#include <OpenGl/GL.h> #include <OpenGl/GL.h>
#else #else
#ifdef _WIN32 #ifdef _WIN32
#include <Windows.h> #include <windows.h>
#endif #endif
#include <GL/GL.h> #include <GL/GL.h>
#endif #endif

View File

@@ -1,5 +1,5 @@
#include <Windows.h> #include <windows.h>
#include <vector> #include <vector>
struct accel_table_t { struct accel_table_t {

View File

@@ -1,7 +1,7 @@
#include "winutil.hpp" #include "winutil.hpp"
#include <iostream> #include <iostream>
#include <Windows.h> #include <windows.h>
#include <SFML/Graphics/RenderWindow.hpp> #include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/Image.hpp> #include <SFML/Graphics/Image.hpp>
#include <sstream> #include <sstream>