From ff35014eff73aadc3ffa957bd860958c9aeefd33 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 2 Aug 2011 02:50:16 +0400 Subject: [PATCH] Fix data paths for FreeBSD --- src/porting.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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" <