porting.cpp: better minetest support on BSD
BSD folder detection is pretty raw, just use the same detection as Linuxmaster
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