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

This commit is contained in:
Jack Jansen 2001-12-14 22:58:11 +00:00
parent 031b779d43
commit 28f14012d7
2 changed files with 1 additions and 3 deletions

View file

@ -119,9 +119,7 @@ void PyMac_InitApplet(void);
/* from macgetargv: */ /* from macgetargv: */
OSErr PyMac_init_process_location(void); OSErr PyMac_init_process_location(void);
#ifndef HAVE_STRDUP
char * strdup(const char *str); char * strdup(const char *str);
#endif
#ifdef USE_GUSI2 #ifdef USE_GUSI2
/* from pyGUSISIOUX.cp */ /* from pyGUSISIOUX.cp */

View file

@ -576,7 +576,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#undef HAVE_STATVFS #undef HAVE_STATVFS
/* Define if you have the strdup function. */ /* Define if you have the strdup function. */
#undef HAVE_STRDUP #define HAVE_STRDUP
/* Define if you have the strerror function. */ /* Define if you have the strerror function. */
#define HAVE_STRERROR #define HAVE_STRERROR