summaryrefslogtreecommitdiff
path: root/xc/config/cf/OpenBSD.cf
diff options
context:
space:
mode:
Diffstat (limited to 'xc/config/cf/OpenBSD.cf')
-rw-r--r--xc/config/cf/OpenBSD.cf21
1 files changed, 16 insertions, 5 deletions
diff --git a/xc/config/cf/OpenBSD.cf b/xc/config/cf/OpenBSD.cf
index b076d72fb..2433ec460 100644
--- a/xc/config/cf/OpenBSD.cf
+++ b/xc/config/cf/OpenBSD.cf
@@ -1,4 +1,4 @@
-XCOMM platform: $XFree86: xc/config/cf/OpenBSD.cf,v 3.49 2001/02/03 19:33:04 herrb Exp $
+XCOMM platform: $XFree86: xc/config/cf/OpenBSD.cf,v 3.52 2001/03/03 09:52:59 herrb Exp $
XCOMM
#ifndef OSName
@@ -78,6 +78,14 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#define HasLibPthread NO
#endif
+#ifndef HasMktemp
+# if (OSMajorVersion > 2) || (OSMajorVersion == 2 && OSMinorVersion >= 1)
+# define HasMktemp YES
+# else
+# define HasMktemp NO
+# endif
+#endif
+
/*
* Multi-thread safe libs
*/
@@ -95,9 +103,8 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# endif
#endif
-#if OSMajorVersion == 2 && OSMinorVersion > 6 || OSMajorVersion >= 3
-# define HasThreadSafeAPI YES
-#endif
+/* Set this to YES when getpwuid_r is added to libc_r */
+# define HasThreadSafeAPI NO
/*
* Compiler Features
@@ -151,7 +158,11 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# define LdPostLib /**/
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# ifndef XFree86ConsoleDefines
-# define XFree86ConsoleDefines -DPCCONS_SUPPORT -DWSCONS_SUPPORT -DPCVT_SUPPORT
+# if OSMajorVersion == 2 && OSMinorVersion <= 8
+# define XFree86ConsoleDefines -DPCCONS_SUPPORT -DPCVT_SUPPORT
+# else
+# define XFree86ConsoleDefines -DWSCONS_SUPPORT
+# endif
# endif
#endif