From: Dmitry Marakasov Date: Mon, 1 Aug 2011 22:50:16 +0000 (+0400) Subject: Fix data paths for FreeBSD X-Git-Tag: 0.2.20110922~75 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ff35014eff73aadc3ffa957bd860958c9aeefd33;p=oweals%2Fminetest.git Fix data paths for FreeBSD --- diff --git a/src/porting.cpp b/src/porting.cpp index ff8cb3862..3dd9b43c3 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -154,10 +154,10 @@ void initializePaths() /* OS X */ - #elif defined(__APPLE__) + #elif defined(__APPLE__) || defined(__FreeBSD__) //TODO: Get path of executable. This assumes working directory is bin/ - dstream<<"WARNING: Relative path not properly supported on OS X" + dstream<<"WARNING: Relative path not properly supported on OS X and FreeBSD" <