Set LOVE_LINUX when compiling under BSD (see issue #867)

Not technically correct, but it seems to be working, sample size 1.
This commit is contained in:
Bart van Strien
2015-03-22 19:57:00 +01:00
parent f32d770cf6
commit 37f04a7f3d
+4
View File
@@ -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)