mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
MemoryBuffer: remove unusued definitions
These were made redundant back in r186560. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ad4480cf8b
commit
87ccb2bffd
@ -27,19 +27,11 @@
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <new>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#if !defined(_MSC_VER) && !defined(__MINGW32__)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
// Simplistic definitinos of these macros for use in getOpenFile.
|
||||
#ifndef S_ISREG
|
||||
#define S_ISREG(x) (1)
|
||||
#endif
|
||||
#ifndef S_ISBLK
|
||||
#define S_ISBLK(x) (0)
|
||||
#endif
|
||||
#endif
|
||||
using namespace llvm;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user