* gc_os_dep.c: HURD fixes.
authorRob Browning <rlb@defaultvalue.org>
Mon, 8 Jul 2002 23:41:00 +0000 (23:41 +0000)
committerRob Browning <rlb@defaultvalue.org>
Mon, 8 Jul 2002 23:41:00 +0000 (23:41 +0000)
libguile/gc_os_dep.c

index 89346c7..0e387f0 100644 (file)
@@ -342,6 +342,11 @@ typedef int GC_bool;
 #   endif
 #   define mach_type_known
 # endif
+# if defined(__GNU__)
+#    define I386
+#    define GNU
+#    define mach_type_known
+# endif
 
 /* Feel free to add more clauses here */
 
@@ -933,6 +938,9 @@ typedef int GC_bool;
 #     define DATASTART ((ptr_t) &__nullarea)
 #     define DATAEND ((ptr_t) &_end)
 #   endif
+#   ifdef GNU
+#      define OS_TYPE "GNU"
+#    endif
 # endif
 
 # ifdef NS32K