mirror of https://github.com/python/cpython
We have strdup(), but not its prototype:-(
This commit is contained in:
parent
031b779d43
commit
28f14012d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue