From: Peter Howkins Date: Mon, 12 Mar 2012 16:03:06 +0000 (+0000) Subject: Do not redefine strdup() on Linux X-Git-Tag: 2.2.0a~26^2~85 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5949e1c4106b1e5333272d662e4dffab7aeb2308;p=oweals%2Fcde.git Do not redefine strdup() on Linux --- diff --git a/cde/programs/dtappbuilder/src/libAButil/util.h b/cde/programs/dtappbuilder/src/libAButil/util.h index 8b9167d8..b0f68c7c 100644 --- a/cde/programs/dtappbuilder/src/libAButil/util.h +++ b/cde/programs/dtappbuilder/src/libAButil/util.h @@ -66,7 +66,9 @@ extern "C" { #endif +#if !defined(linux) extern char *strdup(const char *); +#endif #ifdef __cplusplus } /*extern "C" */