summary refs log tree commit diff
path: root/Src/zsh_system.h
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-05-09 20:32:01 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2016-05-09 20:32:01 -0700
commit9dffe404a464289aedade8762795ee4d1bbb1d3f (patch)
tree04352ce9f7835ab0fd13a71c23d2b0bbb86a5676 /Src/zsh_system.h
parent724021779b01a92db2641504cddf55ba3ce6d1ad (diff)
downloadzsh-9dffe404a464289aedade8762795ee4d1bbb1d3f.tar.gz
zsh-9dffe404a464289aedade8762795ee4d1bbb1d3f.tar.xz
zsh-9dffe404a464289aedade8762795ee4d1bbb1d3f.zip
38432: avoid nonstandard setenv() on __APPLE__
Diffstat (limited to 'Src/zsh_system.h')
-rw-r--r--Src/zsh_system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/zsh_system.h b/Src/zsh_system.h
index 811340d42..17c4c645e 100644
--- a/Src/zsh_system.h
+++ b/Src/zsh_system.h
@@ -728,7 +728,7 @@ 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.
  */
-#if defined(HAVE_SETENV) && defined(HAVE_UNSETENV)
+#if defined(HAVE_SETENV) && defined(HAVE_UNSETENV) && !defined(__APPLE__)
 # define USE_SET_UNSET_ENV
 #endif