From 28131d584523814770a1fdfc20ee1d820ee824c7 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 27 Oct 2011 11:14:17 +0000 Subject: [PATCH] fix export_all_symbols on osx. git-svn-id: file:///svn/unbound/trunk@2529 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 1 + util/fptr_wlist.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/Changelog b/doc/Changelog index c01a7b19d..ca0facd4b 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,6 +3,7 @@ with the host info. They are ignored (with verbose warning) if encountered to keep the config file backwards compatible. - fix iana-update for changing gzip compression of results. + - fix export-all-symbols on OSX. 26 October 2011: Wouter - iana portlist updated. diff --git a/util/fptr_wlist.h b/util/fptr_wlist.h index fc4a31638..8ec823dd6 100644 --- a/util/fptr_wlist.h +++ b/util/fptr_wlist.h @@ -64,7 +64,7 @@ * Macro to perform an assertion check for fptr wlist checks. * Does not get disabled in optimize mode. Check adds security by layers. */ -#if defined(UB_ON_WINDOWS) && defined(EXPORT_ALL_SYMBOLS) +#if defined(EXPORT_ALL_SYMBOLS) #define fptr_ok(x) /* nothing, dll-exe memory layout on win disables it */ #else #define fptr_ok(x) \ -- 2.47.2