]> granicus.if.org Git - python/commitdiff
Add a declaration for strdup() for the Mac.
authorGuido van Rossum <guido@python.org>
Tue, 28 Apr 1998 16:10:19 +0000 (16:10 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 28 Apr 1998 16:10:19 +0000 (16:10 +0000)
(Jack)

Modules/parsermodule.c

index 0c12a07696f2c9e68ad1e09f904d593a0d949db6..3de079fc63c5d7e345dda9a45a6f8ddd77ccd65b 100644 (file)
@@ -26,6 +26,9 @@
                                        /* ISTERMINAL() / ISNONTERMINAL() */
 #include "compile.h"                   /* PyNode_Compile()               */
 
+#ifdef macintosh
+char *strdup Py_PROTO((char *));
+#endif
 
 /*  String constants used to initialize module attributes.
  *