diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-09 08:57:06 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-09 08:57:06 +0000 |
commit | bf8960301df73b4ffe957cc76a94af248dd7ea21 (patch) | |
tree | 92561a07971ad49fc038a9efef7e5fbe011b56ac /llvm/lib/Support/MemoryBuffer.cpp | |
parent | e265cf1a33f5b06fdc234bb801f20434c30c17d0 (diff) | |
download | llvm-bf8960301df73b4ffe957cc76a94af248dd7ea21.zip llvm-bf8960301df73b4ffe957cc76a94af248dd7ea21.tar.gz llvm-bf8960301df73b4ffe957cc76a94af248dd7ea21.tar.bz2 |
MemoryBuffer: remove unusued definitions
These were made redundant back in r186560.
llvm-svn: 208395
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
-rw-r--r-- | llvm/lib/Support/MemoryBuffer.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Support/MemoryBuffer.cpp b/llvm/lib/Support/MemoryBuffer.cpp index 90945ab..f95383d 100644 --- a/llvm/lib/Support/MemoryBuffer.cpp +++ b/llvm/lib/Support/MemoryBuffer.cpp @@ -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; |