diff src/config.h.in @ 4738:a6f27e2b3d84

Move functionality of s/darwin.h to configure.ac and config.h.in.
author Stephen J. Turnbull <stephen@xemacs.org>
date Wed, 11 Nov 2009 23:40:15 +0900
parents 80d74fed5399
children aa5ed11f473b
line wrap: on
line diff
--- a/src/config.h.in	Mon Nov 09 09:21:59 2009 -0700
+++ b/src/config.h.in	Wed Nov 11 23:40:15 2009 +0900
@@ -932,6 +932,14 @@
 #include config_opsysfile
 #endif
 
+/* Darwin uses this to set BSD appropriately. */
+#undef USE_PARAM_H
+#ifdef USE_PARAM_H
+# ifndef NOT_C_CODE
+#  include <sys/param.h>
+# endif
+#endif
+
 /* The configuration script may define `machfile' to be the name of
    the m/...h file that describes the machine you are using.
    The file name is chosen based on the configuration name. */