mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Add a declaration for strdup() for the Mac.
(Jack)
This commit is contained in:
parent
5c069fd4b1
commit
19efc5fb80
@ -26,6 +26,9 @@
|
||||
/* ISTERMINAL() / ISNONTERMINAL() */
|
||||
#include "compile.h" /* PyNode_Compile() */
|
||||
|
||||
#ifdef macintosh
|
||||
char *strdup Py_PROTO((char *));
|
||||
#endif
|
||||
|
||||
/* String constants used to initialize module attributes.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user