summaryrefslogtreecommitdiff
path: root/src/OS
diff options
context:
space:
mode:
Diffstat (limited to 'src/OS')
-rw-r--r--src/OS/os.c-BSDI19
-rw-r--r--src/OS/os.h-BSDI1
2 files changed, 20 insertions, 0 deletions
diff --git a/src/OS/os.c-BSDI b/src/OS/os.c-BSDI
new file mode 100644
index 000000000..43e5bb147
--- /dev/null
+++ b/src/OS/os.c-BSDI
@@ -0,0 +1,19 @@
+/*************************************************
+* Exim - an Internet mail transport agent *
+*************************************************/
+
+/* Copyright (c) 2016 Heiko Schlittermann <hs@schlittermann.de> */
+/* See the file NOTICE for conditions of use and distribution. */
+
+/* BSDI-specific code. This is concatenated onto the generic
+src/os.c file. */
+
+#ifndef OS_UNSETENV
+#define OS_UNSETENV
+
+int
+os_unsetenv(const char *name)
+{
+ unsetenv(name);
+ return 0;
+}
diff --git a/src/OS/os.h-BSDI b/src/OS/os.h-BSDI
index 6e16722fd..a1705ec95 100644
--- a/src/OS/os.h-BSDI
+++ b/src/OS/os.h-BSDI
@@ -5,6 +5,7 @@
#define HAVE_MMAP
#define HAVE_SYS_MOUNT_H
#define SIOCGIFCONF_GIVES_ADDR
+#define OS_UNSETENV
typedef struct flock flock_t;