]> git.jsancho.org Git - lugaru.git/blobdiff - Source/WinInput.cpp
Force a double-buffered GL context.
[lugaru.git] / Source / WinInput.cpp
index 856bf12a6b601b2ea90dcc41036fdff4ff498c72..0b575573b376a6ffd05ab7a0ff4543d61a0f70b6 100644 (file)
@@ -1,6 +1,13 @@
 /**> HEADER FILES <**/
 #include "WinInput.h"
+
+#ifdef WIN32
 #include "String.h"
+#else
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#endif
 
 extern bool keyboardfrozen;
 extern bool buttons[3];
@@ -986,4 +993,4 @@ bool        Compare(char *thestring, char *tocompare, int start, int end)
                if(thestring[i]!=tocompare[i-start]&&thestring[i]!=tocompare[i-start]+'A'-'a')return 0;
        }
        return 1;
-}
\ No newline at end of file
+}