Fix build on GNU Hurd.

Add missing platform definitions.
This commit is contained in:
Felix Geyer 2011-06-06 11:25:58 +02:00 committed by oy
parent 603071ee92
commit 40330fd7c5

View file

@ -46,6 +46,13 @@
#define CONF_PLATFORM_STRING "linux"
#endif
#if defined(__GNU__) || defined(__gnu__)
#define CONF_FAMILY_UNIX 1
#define CONF_FAMILY_STRING "unix"
#define CONF_PLATFORM_HURD 1
#define CONF_PLATFORM_STRING "gnu"
#endif
#if defined(MACOSX) || defined(__APPLE__) || defined(__DARWIN__)
#define CONF_FAMILY_UNIX 1
#define CONF_FAMILY_STRING "unix"