From 0aed6acac51cf30aff619e45d3548c8f44431437 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 29 Mar 2019 18:56:00 +0100 Subject: [PATCH] BUILD: define unsetenv on AIX 5.1 This version doesn't have unsetenv(), so let's map it to my_unsetenv() instead. This wasn't tested on more recent versions. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 38a60cd2c..9bb24f1ff 100644 --- a/Makefile +++ b/Makefile @@ -382,7 +382,7 @@ endif ifeq ($(TARGET),aix51) set_target_defaults = $(call default_opts, \ USE_POLL USE_LIBCRYPT USE_OBSOLETE_LINKER) - TARGET_CFLAGS = -Dss_family=__ss_family -Dip6_hdr=ip6hdr -DSTEVENS_API -D_LINUX_SOURCE_COMPAT + TARGET_CFLAGS = -Dss_family=__ss_family -Dip6_hdr=ip6hdr -DSTEVENS_API -D_LINUX_SOURCE_COMPAT -Dunsetenv=my_unsetenv DEBUG_CFLAGS = endif