Commit 28f14012 authored by Jack Jansen's avatar Jack Jansen

We have strdup(), but not its prototype:-(

parent 031b779d
......@@ -119,9 +119,7 @@ void PyMac_InitApplet(void);
/* from macgetargv: */
OSErr PyMac_init_process_location(void);
#ifndef HAVE_STRDUP
char * strdup(const char *str);
#endif
#ifdef USE_GUSI2
/* from pyGUSISIOUX.cp */
......
......@@ -576,7 +576,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#undef HAVE_STATVFS
/* Define if you have the strdup function. */
#undef HAVE_STRDUP
#define HAVE_STRDUP
/* Define if you have the strerror function. */
#define HAVE_STRERROR
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment