mirror of
https://github.com/python/cpython.git
synced 2024-11-25 10:54:51 +08: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
@ -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…
Reference in New Issue
Block a user