[Xorg-commit] xc/config/cf FreeBSD.cf,1.1.4.3,1.1.4.4

Kaleb Keithley xorg-commit at pdx.freedesktop.org
Fri Dec 26 23:33:13 EET 2003


Committed by: kaleb

Update of /cvs/xorg/xc/config/cf
In directory pdx:/home/kaleb/xorg/xc.XORG-CURRENT/config/cf

Modified Files:
      Tag: XORG-CURRENT
	FreeBSD.cf 
Log Message:
Noticed that FreeBSD 5.1 and later has getpwnam_r


Index: FreeBSD.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/FreeBSD.cf,v
retrieving revision 1.1.4.3
retrieving revision 1.1.4.4
diff -u -d -r1.1.4.3 -r1.1.4.4
--- FreeBSD.cf	20 Dec 2003 00:28:21 -0000	1.1.4.3
+++ FreeBSD.cf	26 Dec 2003 21:33:10 -0000	1.1.4.4
@@ -114,7 +114,11 @@
  * 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





More information about the xorg-commit mailing list