mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
Only #include sys/stat.h if we're on linux where we have the PR274 problem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19020 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -18,7 +18,9 @@
|
|||||||
#include "JIT.h"
|
#include "JIT.h"
|
||||||
#include "llvm/System/DynamicLibrary.h"
|
#include "llvm/System/DynamicLibrary.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#if defined(__linux__)
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#endif
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
// AtExitHandlers - List of functions to call when the program exits,
|
// AtExitHandlers - List of functions to call when the program exits,
|
||||||
|
Reference in New Issue
Block a user