• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- FileSystem.cpp -----------------------------------------------------===//
2 //
3 //                     The MCLinker Project
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 #include "mcld/Config/Config.h"
10 #include "mcld/Support/FileSystem.h"
11 #include "mcld/Support/Path.h"
12 
13 using namespace mcld::sys::fs;
14 
15 
16 //===--------------------------------------------------------------------===//
17 // SearchDirs
18 
19 //===--------------------------------------------------------------------===//
20 // non-member functions
21 
22 // Include the truly platform-specific parts.
23 #if defined(MCLD_ON_UNIX)
24 #include "Unix/FileSystem.inc"
25 #include "Unix/PathV3.inc"
26 #endif
27 #if defined(MCLD_ON_WIN32)
28 #include "Windows/FileSystem.inc"
29 #include "Windows/PathV3.inc"
30 #endif
31