Reid Spencer | 9737492 | 2004-10-04 11:08:32 +0000 | [diff] [blame] | 1 | //===- MappedFile.cpp - MappedFile Support ----------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by Reid Spencer and is distributed under the |
| 6 | // University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file implements the mapped file concept. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #include "llvm/System/MappedFile.h" |
Reid Spencer | b9ed2c1 | 2004-12-27 06:15:43 +0000 | [diff] [blame^] | 15 | #include "llvm/Config/config.h" |
Reid Spencer | 9737492 | 2004-10-04 11:08:32 +0000 | [diff] [blame] | 16 | |
| 17 | namespace llvm { |
| 18 | using namespace sys; |
| 19 | |
| 20 | //===----------------------------------------------------------------------===// |
| 21 | //=== WARNING: Implementation here must contain only TRULY operating system |
| 22 | //=== independent code. |
| 23 | //===----------------------------------------------------------------------===// |
| 24 | |
| 25 | } |
| 26 | |
| 27 | // Include the platform-specific parts of this class. |
Reid Spencer | b9ed2c1 | 2004-12-27 06:15:43 +0000 | [diff] [blame^] | 28 | #ifdef LLVM_ON_UNIX |
| 29 | #include "Unix/MappedFile.cpp" |
| 30 | #endif |
| 31 | #ifdef LLVM_ON_WIN32 |
| 32 | #include "Win32/MappedFile.cpp" |
| 33 | #endif |
Reid Spencer | 9737492 | 2004-10-04 11:08:32 +0000 | [diff] [blame] | 34 | |
| 35 | // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab |