summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-12-26 21:33:10 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-12-26 21:33:10 +0000
commit3efeb9559af46c5388acdda5e90abd1b212e1680 (patch)
treea82315feb6f4d060b092250f4829b7ab39e09b17
parentc4c4f299166d98d51c171735460498223eb663a9 (diff)
Noticed that FreeBSD 5.1 and later has getpwnam_r
-rw-r--r--FreeBSD.cf8
1 files changed, 6 insertions, 2 deletions
diff --git a/FreeBSD.cf b/FreeBSD.cf
index 5dd1404..e827ca9 100644
--- a/FreeBSD.cf
+++ b/FreeBSD.cf
@@ -1,5 +1,5 @@
XCOMM platform: $Xorg: FreeBSD.cf,v 1.3 2000/08/17 19:41:45 cpqbld Exp $
-XCOMM platform: $XdotOrg: FreeBSD.cf,v 1.3 2000/08/17 19:41:45 cpqbld Exp $
+XCOMM platform: $XdotOrg: xc/config/cf/FreeBSD.cf,v 1.1.4.3 2003/12/20 00:28:21 kaleb Exp $
XCOMM
XCOMM
XCOMM
@@ -114,7 +114,11 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
* FreeBSD has tread-safe api but no getpwnam_r yet.
*/
# define HasThreadSafeAPI YES
-# define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI
+# if OSRelVersion < 501000
+# define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI
+# else
+# define MTSafeAPIDefines -DXUSE_MTSAFE_API
+# endif
# if HasLibPthread
# define ThreadsLibraries -lpthread
# else