Add an #ifdef __APPLE__ around typedef of foreachfunc to match Apple's · pythoncapi/cpython@f6067ec · GitHub
Skip to content

Commit f6067ec

Browse files
committed
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.
1 parent 12f8c4d commit f6067ec

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Modules/nismodule.c

Lines changed: 4 additions & 0 deletions

0 commit comments

Comments
 (0)