Do not bother trying to redefine the putenv() function
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 16:16:16 +0000 (16:16 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 16:16:16 +0000 (16:16 +0000)
cde/programs/dtappbuilder/src/libAButil/util.c

index 1911df68d4849dda2ae6776dc3945dd2e722b0eb..138651d7c1fbf706851084aa42bc90faa2f11fe5 100644 (file)
@@ -223,7 +223,7 @@ util_vfork()
 #ifdef __cplusplus
 extern "C" {
 #endif
-#if defined(__uxp__) || defined(__hpux) || (defined(sun) && OSMAJORVERSION >= 5 && OSMINORVERSION >= 4) || defined(linux)
+#if defined(__uxp__) || defined(__hpux) || (defined(sun) && OSMAJORVERSION >= 5 && OSMINORVERSION >= 4)
     extern int putenv(const char *string);
 #elif !(defined(__osf__) || defined(__aix))
     extern int putenv(char *string);