windows (msys2) compile fix
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#if defined(__linux__) || defined(__APPLE__)
|
#if defined(__linux__) || defined(__APPLE__) || defined(__MSYS__)
|
||||||
// http://forum.shelek.ru/index.php/topic,9792.0.html
|
// http://forum.shelek.ru/index.php/topic,9792.0.html
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -132,7 +132,7 @@ keycode()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__) || defined(__MSYS__)
|
||||||
|
|
||||||
// http://www.ai.rug.nl/vakinformatie/pas/content/Aria-manual/ArKeyHandler_8cpp-source.html
|
// http://www.ai.rug.nl/vakinformatie/pas/content/Aria-manual/ArKeyHandler_8cpp-source.html
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ test_keycodes();
|
|||||||
#define KEY_BS 8
|
#define KEY_BS 8
|
||||||
#define KEY_ENTER 13
|
#define KEY_ENTER 13
|
||||||
|
|
||||||
#elif defined(__linux__) || defined(__APPLE__)
|
#elif defined(__linux__) || defined(__APPLE__) || defined(__MSYS__)
|
||||||
|
|
||||||
#define KEY_BS 127
|
#define KEY_BS 127
|
||||||
#define KEY_ENTER 10
|
#define KEY_ENTER 10
|
||||||
|
|||||||
Reference in New Issue
Block a user