about summary refs log tree commit diff
path: root/src/base/detect.h
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2011-06-06 11:25:58 +0200
committeroy <Tom_Adams@web.de>2011-06-09 22:11:29 +0200
commit40330fd7c544066a831447fa28f2d6c267f49b22 (patch)
tree41a6f43bc2dde843af1f1258ad41135a8814b475 /src/base/detect.h
parent603071ee92de0859da04a70c7bd5971fca163288 (diff)
downloadzcatch-40330fd7c544066a831447fa28f2d6c267f49b22.tar.gz
zcatch-40330fd7c544066a831447fa28f2d6c267f49b22.zip
Fix build on GNU Hurd.
Add missing platform definitions.
Diffstat (limited to 'src/base/detect.h')
-rw-r--r--src/base/detect.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base/detect.h b/src/base/detect.h
index 0b66acef..958356f3 100644
--- a/src/base/detect.h
+++ b/src/base/detect.h
@@ -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"