On linux do not prototype strdup()

This commit is contained in:
Peter Howkins
2012-03-11 16:16:00 +00:00
parent b2b6d0d386
commit 034813b328

View File

@@ -49,7 +49,9 @@
#define SVR4 #define SVR4
#endif #endif
#if !defined(linux)
extern char * strdup(const char *); extern char * strdup(const char *);
#endif
extern char * extern char *
_DtCmGetPrefix(char *str, char sep) _DtCmGetPrefix(char *str, char sep)