Skip to content

Commit a857529

Browse files
authored
porting.cpp: better minetest support on BSD
BSD folder detection is pretty raw, just use the same detection as Linux
1 parent f318366 commit a857529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/porting.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ bool setSystemPaths()
400400

401401

402402
//// Linux
403-
#elif defined(__linux__)
403+
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
404404

405405
bool setSystemPaths()
406406
{

0 commit comments

Comments
 (0)