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
1 changed files with 3 additions and 0 deletions

View File

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