]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fix export_all_symbols on osx.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 27 Oct 2011 11:14:17 +0000 (11:14 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 27 Oct 2011 11:14:17 +0000 (11:14 +0000)
git-svn-id: file:///svn/unbound/trunk@2529 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/fptr_wlist.h

index c01a7b19de750e9e971b66620d5a9ec6bc6c5b92..ca0facd4bb47db6109dc8c698edf6d2922810341 100644 (file)
@@ -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.
index fc4a316389514664c4b82b63b0a400429f757e24..8ec823dd6f1224792f2b2523a9b56db4ef02ade4 100644 (file)
@@ -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) \