Commits

Guido van Rossum  committed c142eb5

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 :-( ).

  • Participants
  • Parent commits 4d545cc
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Modules/parsermodule.c

 					/* ISTERMINAL() / ISNONTERMINAL() */
 #include "compile.h"			/* PyNode_Compile()		  */
 
+#ifndef MS_WINDOWS
+char *strdup();
+#endif
 
 /*  String constants used to initialize module attributes.
  *