mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
We have strdup(), but not its prototype:-(
This commit is contained in:
parent
031b779d43
commit
28f14012d7
2 changed files with 1 additions and 3 deletions
|
@ -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 */
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue