+++ /dev/null
-//===- AIX/MappedFile.cpp - AIX MappedFile Implementation --------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by Reid Spencer and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides the AIX specific implementation of the MappedFile concept.
-//
-//===----------------------------------------------------------------------===//
-
-// Include the generic unix implementation
-#include "../Unix/MappedFile.cpp"
-
-// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
+++ /dev/null
-//===- Cygwin/MappedFile.cpp - Cygwin MappedFile Implementation -*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by Reid Spencer and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides the Cygwin specific implementation of the MappedFile
-// concept.
-//
-//===----------------------------------------------------------------------===//
-
-// Include the generic unix implementation
-#include "Unix/MappedFile.cpp"
-
-// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
+++ /dev/null
-//===- Darwin/MappedFile.cpp - Darwin MappedFile Implementation -*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by Reid Spencer and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides the Darwin specific implementation of the MappedFile
-// concept.
-//
-//===----------------------------------------------------------------------===//
-
-// Include the generic unix implementation
-#include <sys/stat.h>
-#include "../Unix/MappedFile.cpp"
-
-// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
+++ /dev/null
-//===- FreeBSD/MappedFile.cpp - FreeBSD MappedFile Impl. --------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by Reid Spencer and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides the FreeBSD specific implementation of the MappedFile
-// concept.
-//
-//===----------------------------------------------------------------------===//
-
-#include <sys/stat.h>
-
-// Include the generic unix implementation
-#include "../Unix/MappedFile.cpp"
-
-// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
+++ /dev/null
-//===- Interix/MappedFile.cpp - Interix MappedFile Impl. --------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by Reid Spencer and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides the Interix specific implementation of the MappedFile
-// concept.
-//
-//===----------------------------------------------------------------------===//
-
-// Include the generic unix implementation
-#include "../Unix/MappedFile.cpp"
-
-// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
+++ /dev/null
-//===- Linux/MappedFile.cpp - Linux MappedFile Implementation ---*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by Reid Spencer and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides the Linux specific implementation of the MappedFile
-// concept.
-//
-//===----------------------------------------------------------------------===//
-
-// Include the generic unix implementation
-#include "../Unix/MappedFile.cpp"
-
-// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
//===----------------------------------------------------------------------===//
#include "llvm/System/MappedFile.h"
+#include "llvm/Config/config.h"
namespace llvm {
using namespace sys;
}
// Include the platform-specific parts of this class.
-#include "platform/MappedFile.cpp"
+#ifdef LLVM_ON_UNIX
+#include "Unix/MappedFile.cpp"
+#endif
+#ifdef LLVM_ON_WIN32
+#include "Win32/MappedFile.cpp"
+#endif
// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
+++ /dev/null
-//===- SunOS/MappedFile.cpp - SunOS MappedFile Implementation ---*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by Reid Spencer and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides the SunOS specific implementation of the MappedFile
-// concept.
-//
-//===----------------------------------------------------------------------===//
-
-// Include the generic unix implementation
-#include <sys/stat.h>
-#include "../Unix/MappedFile.cpp"
-
-// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab