diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-07-22 03:29:35 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-07-22 03:29:35 +0000 |
| commit | 83883cee450846b59f136f53843106337526b2a5 (patch) | |
| tree | d97864d274169643b9cbefccd48589e8a08e04d3 /Source/Core/Common/Src/FileUtil.cpp | |
| parent | cdce0ec3221fae0987b3f34f16be6371b8bac3cd (diff) | |
Port to *BSD. It runs but isn't terribly useful without Cg.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5934 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index dc630923e6..e7736f2d5b 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -48,6 +48,10 @@ #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) #endif +#if defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__ +#define stat64 stat // XXX +#endif + // This namespace has various generic functions related to files and paths. // The code still needs a ton of cleanup. // REMEMBER: strdup considered harmful! |
