Detect GNU Hurd and Debian kFreeBSD as ANGLE_OS_POSIX

See https://bugzilla.mozilla.org/show_bug.cgi?id=711353 Patch by Mike Hommey git-svn-id: https://angleproject.googlecode.com/svn/trunk@954 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent d08aa75e
......@@ -31,6 +31,7 @@ Google Inc.
Mozilla Corp.
Ehsan Akhgari
Mike Hommey
Benoit Jacob
Makoto Kato
Vladimir Vukicevic
......
#define MAJOR_VERSION 1
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 953
#define BUILD_REVISION 954
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
......
......@@ -16,7 +16,8 @@
#define ANGLE_OS_WIN
#elif defined(__APPLE__) || defined(__linux__) || \
defined(__FreeBSD__) || defined(__OpenBSD__) || \
defined(__sun) || defined(ANDROID)
defined(__sun) || defined(ANDROID) || \
defined(__GLIBC__) || defined(__GNU__)
#define ANGLE_OS_POSIX
#else
#error Unsupported platform.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment