mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Do not redefine strdup() on Linux
This commit is contained in:
parent
88cc514fbd
commit
5949e1c410
1 changed files with 2 additions and 0 deletions
|
@ -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" */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue