Description: Fix FTBFS on Debian GNU/kFreeBSD
0 A.D. FTBFS because premake doesn't recognize Debian GNU/kFreeBSD as a valid
BSD platform, and thinks we're running a build in a Windows environment
instead.
Forwarded: not-yet
Author: Vincent Cheng <Vincentc1208@gmail.com>
Last-Update: 2012-04-16
a
|
b
|
|
15 | 15 | #if defined(__linux__) |
16 | 16 | #define PLATFORM_LINUX (1) |
17 | 17 | #define PLATFORM_STRING "linux" |
18 | | #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) |
| 18 | #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__GLIBC__) |
19 | 19 | #define PLATFORM_BSD (1) |
20 | 20 | #define PLATFORM_STRING "bsd" |
21 | 21 | #elif defined(__APPLE__) && defined(__MACH__) |