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/Support/FileSystem.h" 10#include "mcld/Support/Path.h" 11 12using namespace mcld::sys::fs; 13 14 15//===--------------------------------------------------------------------===// 16// SearchDirs 17 18//===--------------------------------------------------------------------===// 19// non-member functions 20 21// Include the truly platform-specific parts. 22#if defined(MCLD_ON_UNIX) 23#include "Unix/FileSystem.inc" 24#include "Unix/PathV3.inc" 25#endif 26#if defined(MCLD_ON_WIN32) 27#include "Windows/FileSystem.inc" 28#include "Windows/PathV3.inc" 29#endif 30