Martin v. Löwis <mar...@v.loewis.de> added the comment: Here is a (untested) work-around that won't require undefining _DARWIN_C_SOURCE: After all includes, say
#ifdef __APPLE__ int posix_getgroups(int, gid_t []) __asm("_getgroups"); #define getgroups posix_getgroups #endif This should cause linking to the same symbol as without _DARWIN_UNLIMITED_GETGROUPS/_DARWIN_C_SOURCE ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7900> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com