mirror of https://github.com/stella-emu/stella.git
Brought GP2X FSNode class up to date with the latest POSIX class. Removed MACOSX ifdefs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1131 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
f71c873c13
commit
0bcfb0d280
|
@ -13,7 +13,7 @@
|
|||
// See the file "license" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id: FSNodeGP2X.cxx,v 1.1 2006-01-08 02:28:03 stephena Exp $
|
||||
// $Id: FSNodeGP2X.cxx,v 1.2 2006-09-18 00:44:43 azaballa Exp $
|
||||
//
|
||||
// Based on code from ScummVM - Scumm Interpreter
|
||||
// Copyright (C) 2002-2004 The ScummVM project
|
||||
|
@ -21,10 +21,6 @@
|
|||
|
||||
#include "FSNode.hxx"
|
||||
|
||||
#ifdef MACOSX
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
|
@ -145,7 +141,6 @@ POSIXFilesystemNode::POSIXFilesystemNode(const POSIXFilesystemNode* node)
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
FSList POSIXFilesystemNode::listDir(ListMode mode) const
|
||||
{
|
||||
assert(_isDirectory);
|
||||
DIR *dirp = opendir(_path.c_str());
|
||||
struct stat st;
|
||||
|
||||
|
|
Loading…
Reference in New Issue