diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-12-11 17:35:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-11 17:35:39 +0100 |
commit | a8575295d5f577b245b932bac118ef077ea96c08 (patch) | |
tree | 9b477909fdcd6738467e773313a4df211e622141 /src/porting.cpp | |
parent | f318366c20e6c134d600c0f8fa212186035ea8e3 (diff) | |
download | minetest-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/porting.cpp')
-rw-r--r-- | src/porting.cpp | 2 |
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() { |