about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-07-31 11:26:54 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-07-31 11:26:54 +0000
commit595dd31b636e0bae3a6c2478514b2d2e65e9b5a6 (patch)
treee78771fba180093334c27afe1723959ad0c17f27 /Src/system.h
parent40b42fc6f66f15b451ea35db2d296524c029982a (diff)
downloadzsh-595dd31b636e0bae3a6c2478514b2d2e65e9b5a6.tar.gz
zsh-595dd31b636e0bae3a6c2478514b2d2e65e9b5a6.tar.xz
zsh-595dd31b636e0bae3a6c2478514b2d2e65e9b5a6.zip
23730: improve preprocessor and regression tests for 23725
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h4
1 files changed, 2 insertions, 2 deletions
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