Do not redefine strdup() on Linux
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 16:03:06 +0000 (16:03 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 16:03:06 +0000 (16:03 +0000)
cde/programs/dtappbuilder/src/libAButil/util.h

index 8b9167d891c161054fa7ec4226da3fdeb5d8ee63..b0f68c7cbb90006cb2f24f5e2508f6a7f5af79bd 100644 (file)
@@ -66,7 +66,9 @@
 extern "C" {
 #endif
 
+#if !defined(linux)
 extern char    *strdup(const char *);
+#endif
 
 #ifdef __cplusplus
 } /*extern "C" */