From 37f04a7f3d14fd0ba04fd9cb2b6124de799c5f26 Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Sun, 22 Mar 2015 19:57:00 +0100 Subject: [PATCH] Set LOVE_LINUX when compiling under BSD (see issue #867) Not technically correct, but it seems to be working, sample size 1. --- src/common/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/config.h b/src/common/config.h index 9c7cd891d..e1b5bb86c 100644 --- a/src/common/config.h +++ b/src/common/config.h @@ -36,6 +36,10 @@ # define LOVE_MACOSX 1 # endif #endif +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +// I know it's not linux, but it seems most "linux-only" code is bsd-compatible +# define LOVE_LINUX 1 +#endif // Endianness. #if defined(__i386__) || defined(__i386)