fix export_all_symbols on osx.

git-svn-id: file:///svn/unbound/trunk@2529 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2011-10-27 11:14:17 +00:00
parent 69aafe3a1c
commit 28131d5845
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
with the host info. They are ignored (with verbose warning) if with the host info. They are ignored (with verbose warning) if
encountered to keep the config file backwards compatible. encountered to keep the config file backwards compatible.
- fix iana-update for changing gzip compression of results. - fix iana-update for changing gzip compression of results.
- fix export-all-symbols on OSX.
26 October 2011: Wouter 26 October 2011: Wouter
- iana portlist updated. - iana portlist updated.

View file

@ -64,7 +64,7 @@
* Macro to perform an assertion check for fptr wlist checks. * Macro to perform an assertion check for fptr wlist checks.
* Does not get disabled in optimize mode. Check adds security by layers. * 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 */ #define fptr_ok(x) /* nothing, dll-exe memory layout on win disables it */
#else #else
#define fptr_ok(x) \ #define fptr_ok(x) \