From a8575295d5f577b245b932bac118ef077ea96c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot?= Date: Tue, 11 Dec 2018 17:35:39 +0100 Subject: porting.cpp: better minetest support on BSD BSD folder detection is pretty raw, just use the same detection as Linux --- src/porting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/porting.cpp') 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() { -- cgit v1.2.3