diff options
author | Guido van Rossum <guido@python.org> | 1998-04-28 16:10:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-28 16:10:19 (GMT) |
commit | 19efc5fb803384043c39e6341fb20a8cea11c3a3 (patch) | |
tree | 411b3db601a6bef323cd17ccf047c346fa56fb18 /Modules/parsermodule.c | |
parent | 5c069fd4b18f0a44e22b995d3bb3be9f4b5572e1 (diff) | |
download | cpython-19efc5fb803384043c39e6341fb20a8cea11c3a3.zip cpython-19efc5fb803384043c39e6341fb20a8cea11c3a3.tar.gz cpython-19efc5fb803384043c39e6341fb20a8cea11c3a3.tar.bz2 |
Add a declaration for strdup() for the Mac.
(Jack)
Diffstat (limited to 'Modules/parsermodule.c')
-rw-r--r-- | Modules/parsermodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
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. * |