From 83883cee450846b59f136f53843106337526b2a5 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Thu, 22 Jul 2010 03:29:35 +0000 Subject: 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 --- Source/Core/Common/Src/FileUtil.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/Core/Common/Src/FileUtil.cpp') 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! -- cgit v1.2.3