forked from Mirrorlandia_minetest/minetest
porting.cpp: better minetest support on BSD
BSD folder detection is pretty raw, just use the same detection as Linux
This commit is contained in:
parent
f318366c20
commit
a8575295d5
@ -400,7 +400,7 @@ bool setSystemPaths()
|
|||||||
|
|
||||||
|
|
||||||
//// Linux
|
//// Linux
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
|
||||||
|
|
||||||
bool setSystemPaths()
|
bool setSystemPaths()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user