aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2018-12-11 17:35:39 +0100
committerGitHub <noreply@github.com>2018-12-11 17:35:39 +0100
commita8575295d5f577b245b932bac118ef077ea96c08 (patch)
tree9b477909fdcd6738467e773313a4df211e622141 /src
parentf318366c20e6c134d600c0f8fa212186035ea8e3 (diff)
downloadminetest-a8575295d5f577b245b932bac118ef077ea96c08.tar.gz
minetest-a8575295d5f577b245b932bac118ef077ea96c08.tar.bz2
minetest-a8575295d5f577b245b932bac118ef077ea96c08.zip
porting.cpp: better minetest support on BSD
BSD folder detection is pretty raw, just use the same detection as Linux
Diffstat (limited to 'src')
-rw-r--r--src/porting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/porting.cpp b/src/porting.cpp
index a19c39456..76fd592d6 100644
--- a/src/porting.cpp
+++ b/src/porting.cpp
@@ -400,7 +400,7 @@ bool setSystemPaths()
//// Linux
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
bool setSystemPaths()
{