Lowercase windows.h includes for MinGW cross-compiling compatibility
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
struct accel_table_t {
|
struct accel_table_t {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user