diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-12-26 21:33:10 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-12-26 21:33:10 +0000 |
commit | 3efeb9559af46c5388acdda5e90abd1b212e1680 (patch) | |
tree | a82315feb6f4d060b092250f4829b7ab39e09b17 | |
parent | c4c4f299166d98d51c171735460498223eb663a9 (diff) |
Noticed that FreeBSD 5.1 and later has getpwnam_r
-rw-r--r-- | FreeBSD.cf | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |