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:
Loïc Blot 2018-12-11 17:35:39 +01:00 committed by GitHub
parent f318366c20
commit a8575295d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ bool setSystemPaths()
//// Linux
#elif defined(__linux__)
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
bool setSystemPaths()
{