mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Put back the extern declaration for strdup(), between #ifndef MS_WINDOWS.
This should make everybody happy, especially since we don't say what the argument type is (there is disagreement on that, too :-( ).
This commit is contained in:
parent
9b2681b355
commit
1f14ccf6d1
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() */
|
||||||
|
|
||||||
|
#ifndef MS_WINDOWS
|
||||||
|
char *strdup();
|
||||||
|
#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