fix compile
This commit is contained in:
@@ -223,7 +223,6 @@ void ArchHooks_Unix::SetTime( tm newtime )
|
||||
void ArchHooks_Unix::MountInitialFilesystems( const CString &sDirOfExecutable )
|
||||
{
|
||||
#if defined(LINUX)
|
||||
HOOKS->MountInitialFilesystems( sDirOfExecutable );
|
||||
/* Mount the root filesystem, so we can read files in /proc, /etc, and so on.
|
||||
* This is /rootfs, not /root, to avoid confusion with root's home directory. */
|
||||
RageFileManager::Mount( "dir", "/", "/rootfs" );
|
||||
|
||||
@@ -298,7 +298,7 @@ void ArchHooks_darwin::MountInitialFilesystems( const CString &sDirOfExecutable
|
||||
ASSERT( parts.size() > 3 );
|
||||
CString Dir = '/' + join( "/", parts.begin(), parts.end()-3 );
|
||||
RageFileManager::Mount( "dir", Dir, "/" );
|
||||
else
|
||||
#else
|
||||
/* Paths relative to the CWD: */
|
||||
FILEMAN->Mount( "dir", ".", "/" );
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user