mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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() */
|
/* ISTERMINAL() / ISNONTERMINAL() */
|
||||||
#include "compile.h" /* PyNode_Compile() */
|
#include "compile.h" /* PyNode_Compile() */
|
||||||
|
|
||||||
|
#ifdef macintosh
|
||||||
|
char *strdup Py_PROTO((char *));
|
||||||
|
#endif
|
||||||
|
|
||||||
/* String constants used to initialize module attributes.
|
/* String constants used to initialize module attributes.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue