windows (native) compile fix
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#include "keycode.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
// http://forum.shelek.ru/index.php/topic,9792.0.html
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <termios.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
@@ -211,7 +212,7 @@ keycode()
|
||||
#include <conio.h>
|
||||
|
||||
int
|
||||
getkeycode()
|
||||
keycode()
|
||||
{
|
||||
int code = -1;
|
||||
int key = getch();
|
||||
|
||||
Reference in New Issue
Block a user