mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r3283] Purpose:
Suppress warnings for release. Description: Always declare strdup as extern, figure out way to avoid warnings later. Platforms tested: Linux 2.2.16 (eirene)
This commit is contained in:
parent
d11eab4dc7
commit
cd8d9e2460
@ -727,12 +727,14 @@ __DLL__ int64_t HDstrtoll (const char *s, const char **rest, int base);
|
||||
* And now for a couple non-Posix functions... Watch out for systems that
|
||||
* define these in terms of macros.
|
||||
*/
|
||||
/*
|
||||
if !defined strdup && !defined HAVE_STRDUP && !defined _strdup
|
||||
char *strdup(const char *s);
|
||||
#ifdef LATER
|
||||
#if !defined strdup && !defined HAVE_STRDUP && !defined _strdup
|
||||
extern char *strdup(const char *s);
|
||||
#endif
|
||||
#else /* LATER */
|
||||
extern char *strdup(const char *s);
|
||||
#endif /* LATER */
|
||||
#define HDstrdup(S) strdup(S)
|
||||
*/
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
|
Loading…
x
Reference in New Issue
Block a user