Add a bunch of #ifdefs to keep things working as expected on linux

This commit is contained in:
Tyler Wilding
2020-09-03 22:24:50 -04:00
parent f68f220e5b
commit ef09eb12c8
26 changed files with 336 additions and 419 deletions
+6 -3
View File
@@ -6,10 +6,13 @@
* The CodeTester can't be used for tests requiring the full GOAL language/linking.
*/
#include <third-party/mman/mman.h>
#include <cstdio>
#ifdef __linux__
#include <sys/mman.h>
#elif _WIN32
#include <third-party/mman/mman.h>
#endif
#include <cstdio>
#include "CodeTester.h"
#include "IGen.h"