]> granicus.if.org Git - postgis/commitdiff
Detect GNU/Hurd and treat it like Linux just as BSD (#3295)
authorSandro Santilli <strk@keybit.net>
Sat, 26 Sep 2015 10:49:44 +0000 (10:49 +0000)
committerSandro Santilli <strk@keybit.net>
Sat, 26 Sep 2015 10:49:44 +0000 (10:49 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14114 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_core/librtcore.h

index 5a2b77398857a878c0c7bd3649c314f0af7680ed..52bc829b398ec480c86967674290e34cb011eed2 100644 (file)
 #endif
 #endif
 
+#if defined(__GNU__)    /* GNU/Hurd is also like Linux */
+#if !defined(LINUX)
+#define LINUX
+#endif
+#if !defined(UNIX)
+#define UNIX        /* make sure this is defined */
+#endif
+#endif
+
 #if defined(__MSDOS__)
 #if !defined(MSDOS)
 #define MSDOS       /* make sure this is defined */