mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Add a declaration for strdup() for the Mac.
(Jack)
This commit is contained in:
parent
5c069fd4b1
commit
19efc5fb80
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue