]> granicus.if.org Git - python/commit
Add an #ifdef __APPLE__ around typedef of foreachfunc to match Apple's
authorBrett Cannon <bcannon@gmail.com>
Sat, 10 Jul 2004 00:57:37 +0000 (00:57 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 10 Jul 2004 00:57:37 +0000 (00:57 +0000)
commitf6067ec336e2eff1fc1cce90c67c20b0d4e80c22
treefdab3752ac9bbe8471e6a893aa4417a5ffe50317
parent12f8c4d2e3edf2717869c7578616f188ecd2daed
Add an #ifdef __APPLE__ around typedef of foreachfunc to match Apple's
incorrect declaration for ypall_callback in /usr/include/rpcsvc/ypcInt.h .
Shouldn't hurt any code since the differences are unsigned long instead of int and
void * instead of char *.  Removes warning about improper function pointer
assignment during compilation.
Modules/nismodule.c