From: Dmitry Marakasov Date: Mon, 1 Aug 2011 22:50:16 +0000 (+0400) Subject: Fix data paths for FreeBSD X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ff35014eff73aadc3ffa957bd860958c9aeefd33;p=zefram%2Fminetest%2Fminetest_engine.git Fix data paths for FreeBSD --- diff --git a/src/porting.cpp b/src/porting.cpp index ff8cb386..3dd9b43c 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" <