[llvm] r208395 - MemoryBuffer: remove unusued definitions
Alp Toker
alp at nuanti.com
Fri May 9 01:57:07 PDT 2014
Author: alp
Date: Fri May 9 03:57:06 2014
New Revision: 208395
URL: http://llvm.org/viewvc/llvm-project?rev=208395&view=rev
Log:
MemoryBuffer: remove unusued definitions
These were made redundant back in r186560.
Modified:
llvm/trunk/lib/Support/MemoryBuffer.cpp
Modified: llvm/trunk/lib/Support/MemoryBuffer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/MemoryBuffer.cpp?rev=208395&r1=208394&r2=208395&view=diff
==============================================================================
--- llvm/trunk/lib/Support/MemoryBuffer.cpp (original)
+++ llvm/trunk/lib/Support/MemoryBuffer.cpp Fri May 9 03:57:06 2014
@@ -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;
More information about the llvm-commits
mailing list