summaryrefslogtreecommitdiff
path: root/Src/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h
index 97db9aab1..af66687fa 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -693,6 +693,15 @@ struct timezone {
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
+#endif
+
+
/* These variables are sometimes defined in, *
* and needed by, the termcap library. */
#if MUST_DEFINE_OSPEED