mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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() */
|
||||
#include "compile.h" /* PyNode_Compile() */
|
||||
|
||||
#ifndef MS_WINDOWS
|
||||
char *strdup();
|
||||
#endif
|
||||
|
||||
/* String constants used to initialize module attributes.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue