mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
including sys/param.h causes several conflicts with symbol names we use, so don't do it
svn-id: r15320
This commit is contained in:
parent
ae73d1a4ee
commit
4fed56e8a6
@ -33,9 +33,14 @@
|
||||
#include "sound/mididrv.h"
|
||||
|
||||
#if (!( defined(__DC__) || defined(__GP32__)) && !defined(_MSC_VER))
|
||||
#include <sys/param.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if !(defined(MAXPATHLEN))
|
||||
#define MAXPATHLEN 1024
|
||||
#endif
|
||||
|
||||
namespace GUI {
|
||||
|
||||
// TODO - allow changing options for:
|
||||
@ -427,9 +432,6 @@ void GlobalOptionsDialog::open() {
|
||||
_savePath->setLabel(dir);
|
||||
} else {
|
||||
// Default to the current directory...
|
||||
#if !(defined(MAXPATHLEN))
|
||||
#define MAXPATHLEN 1024
|
||||
#endif
|
||||
char buf[MAXPATHLEN];
|
||||
getcwd(buf, sizeof(buf));
|
||||
_savePath->setLabel(buf);
|
||||
|
Loading…
Reference in New Issue
Block a user