summaryrefslogtreecommitdiff
path: root/lang/drscheme/patches/patch-aa
blob: 67ff3289952ef2546fbac5f18905477a3e23311b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$NetBSD: patch-aa,v 1.2 2001/09/05 03:52:47 groo Exp $

--- mzscheme/sconfig.h.orig	Sat Jun 24 05:01:25 2000
+++ mzscheme/sconfig.h	Tue Sep  4 22:00:42 2001
@@ -278,6 +278,37 @@
 
 #endif
 
+  /********************* NetBSD ***********************/
+
+#if defined(__NetBSD__)
+
+# define SCHEME_PLATFORM_LIBRARY_SUBPATH "netbsd"
+
+# include "uconfig.h"
+
+# undef HAS_STANDARD_IOB
+# define HAS_BSD_IOB
+
+# define STACK_GROWS_DOWN
+
+# define UNDERSCORE_DYNLOAD_SYMBOL_PREFIX
+
+# define USE_IEEE_FP_PREDS
+# define POW_HANDLES_INF_CORRECTLY
+
+# define SIGSET_IS_SIGNAL
+
+# define USE_TM_GMTOFF_FIELD
+
+#if defined(__alpha__)
+# define SIXTY_FOUR_BIT_INTEGERS
+# define USE_DIVIDE_MAKE_INFINITY
+#endif
+
+# define FLAGS_ALREADY_SET
+
+#endif
+
   /************** x86/OpenBSD with gcc ****************/
               /* Thanks to Bengt Kleberg */