Skip to content
Snippets Groups Projects
Commit 5a1b0b99 authored by rswindell's avatar rswindell
Browse files

No longer forces predefinition of __unix__ (makes cross-platform makefile easier)

parent 8abc90ae
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,7 @@
/* @format.tab-size 4, @format.use-tabs true */
#ifndef __unix__
// This *should* work for most unices, as termios is pretty standard
#error This file is only to be used in a UNIX build
#endif
#ifdef __unix__
#include <stdlib.h>
#include <unistd.h>
......@@ -112,5 +109,4 @@ int getch(void)
return c;
}
#endif // __unix__
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment