From 595dd31b636e0bae3a6c2478514b2d2e65e9b5a6 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 31 Jul 2007 11:26:54 +0000 Subject: 23730: improve preprocessor and regression tests for 23725 --- Src/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/system.h') diff --git a/Src/system.h b/Src/system.h index af66687fa..781a90762 100644 --- a/Src/system.h +++ b/Src/system.h @@ -697,8 +697,8 @@ extern char **environ; * We always need setenv and unsetenv in pairs, because * we don't know how to do memory management on the values set. */ -#ifndef HAVE_UNSETENV -#undef HAVE_SETENV +#if defined(HAVE_SETENV) && defined(HAVE_UNSETENV) +# define USE_SET_UNSET_ENV #endif -- cgit 1.4.1