Mercurial > cpython-lru_cache-weakref
diff Modules/parsermodule.c @ 8184:142165ed84d8 legacy-trunk
Add a declaration for strdup() for the Mac.
(Jack)
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 28 Apr 1998 16:10:19 +0000 |
| parents | b6ce1719323a |
| children | 885de49b445c |
line wrap: on
line diff
--- a/Modules/parsermodule.c Tue Apr 28 16:09:16 1998 +0000 +++ b/Modules/parsermodule.c Tue Apr 28 16:10:19 1998 +0000 @@ -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. *
