From 5949e1c4106b1e5333272d662e4dffab7aeb2308 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 12 Mar 2012 16:03:06 +0000 Subject: [PATCH] Do not redefine strdup() on Linux --- cde/programs/dtappbuilder/src/libAButil/util.h | 2 ++ 1 file changed, 2 insertions(+) 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" */ -- 2.25.1