[Zope-Checkins] CVS: Zope/lib/Components/initgroups - initgroups.c:1.4

Stefan H. Holek stefan at epy.co.at
Fri May 7 06:46:08 EDT 2004


Update of /cvs-repository/Zope/lib/Components/initgroups
In directory cvs.zope.org:/tmp/cvs-serv8216/lib/Components/initgroups

Modified Files:
	initgroups.c 
Log Message:
Collector #1159: Added test for __MACH__ to initgroups.c so the
initgroups method becomes available on Mac OS X.


=== Zope/lib/Components/initgroups/initgroups.c 1.3 => 1.4 ===
--- Zope/lib/Components/initgroups/initgroups.c:1.3	Thu Jul 25 17:54:02 2002
+++ Zope/lib/Components/initgroups/initgroups.c	Fri May  7 06:46:06 2004
@@ -13,7 +13,7 @@
 
 #include "Python.h"
 
-#if defined(__unix__) || defined(unix)
+#if defined(__unix__) || defined(unix) || defined(__MACH__) /* Mac OS X */
 
 #include <grp.h>
 #include <sys/types.h>




More information about the Zope-Checkins mailing list