commit | 19efc5fb803384043c39e6341fb20a8cea11c3a3 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Apr 28 16:10:19 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Apr 28 16:10:19 1998 +0000 |
tree | 411b3db601a6bef323cd17ccf047c346fa56fb18 | |
parent | 5c069fd4b18f0a44e22b995d3bb3be9f4b5572e1 [diff] [blame] |
Add a declaration for strdup() for the Mac. (Jack)
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 0c12a07..3de079f 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c
@@ -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. *