mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +08:00
Mon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl>
* gdb/gdb_string.h (strdup): Declare only if not defined as a macro. Mark glibc development versions are defining strdup as a macro and the prototype hosees it. Either way, this patch shouldn't cause problems.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl>
|
||||||
|
|
||||||
|
* gdb/gdb_string.h (strdup): Declare only if not defined as a
|
||||||
|
macro.
|
||||||
|
|
||||||
Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>
|
Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>
|
||||||
|
|
||||||
* procfs.c: Added replacement macros for LWP stuff. Fixed support
|
* procfs.c: Added replacement macros for LWP stuff. Fixed support
|
||||||
|
@ -59,6 +59,8 @@ extern int memcmp();
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern char *strdup ();
|
#ifndef strdup
|
||||||
|
extern char *strdup PARAMS ((const char *));
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* !defined(GDB_STRING_H) */
|
#endif /* !defined(GDB_STRING_H) */
|
||||||
|
Reference in New Issue
Block a user