aboutsummaryrefslogtreecommitdiffstats
path: root/net/lambdamoo/files/patch-config.h.in
blob: 6094d3c193b548dca75d491563a03cc826c93cbd (plain) (blame)
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
--- config.h.in.orig	1998-12-29 05:26:51 UTC
+++ config.h.in
@@ -94,9 +94,10 @@
 #undef NDECL_FORK		/* <unistd.h>	  */
 #undef NDECL_WAITPID		/* <sys/wait.h>	  */
 
-/* Some systems declare bzero() in <stdlib.h> instead of in <string.h>. */
+/* Some systems declare bzero() in <stdlib.h> or <strings.h> instead of in <string.h>. */
 
 #undef BZERO_IN_STDLIB_H
+#undef BZERO_IN_STRINGS_H
 
 /* Some header files are only present on certain kinds of UNIXes (e.g., BSD,
  * System V, or POSIX).  The following symbols are defined only if the named
@@ -163,7 +164,7 @@
  * system provides the named functions.
  */
 
-#undef HAVE_CRYPT
+/* #undef HAVE_CRYPT */
 #undef HAVE_MATHERR
 #undef HAVE_MKFIFO
 #undef HAVE_REMOVE
@@ -257,12 +258,16 @@
 #if INT_MAX == 2147483647
    typedef int		int32;
    typedef unsigned	unsigned32;
+#  ifndef INT32_MAX
 #  define INT32_MAX	INT_MAX
+#  endif
 #else
 #  if LONG_MAX == 2147483647
      typedef long int		int32;
      typedef unsigned long	unsigned32;
+#    ifndef INT32_MAX
 #    define INT32_MAX		LONG_MAX
+#    endif
 #  else
 #    error I cannot figure out how to express a 32-bit integer on your machine.
 #  endif