Do not redefine strdup() on Linux
This commit is contained in:
@@ -66,7 +66,9 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(linux)
|
||||||
extern char *strdup(const char *);
|
extern char *strdup(const char *);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /*extern "C" */
|
} /*extern "C" */
|
||||||
|
|||||||
Reference in New Issue
Block a user