Merge pull request #51 from trha/master

Add support for MinGW on Windows
This commit is contained in:
Brian Barto 2017-03-21 09:38:02 -04:00 committed by GitHub
commit db35451d57

View File

@ -17,6 +17,9 @@
#include <termios.h> #include <termios.h>
#include <unistd.h> #include <unistd.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#ifndef FIONREAD
#include <sys/socket.h>
#endif
// Macros for VT100 codes // Macros for VT100 codes
#define CLEAR_SCR() printf("\033[2J") // Clear Screen #define CLEAR_SCR() printf("\033[2J") // Clear Screen