summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorHarald Lapp <h.lapp@clipdealer.de>2015-03-12 12:48:28 +0100
committerHarald Lapp <h.lapp@clipdealer.de>2015-03-12 12:48:28 +0100
commit3ccf667899b1358f50588fe69b2afa65de59f668 (patch)
tree8e46741ee2026805c13e7de9bb7202ff22188983 /lib
parent3aad16e337a18861d76df24f8137d2dbe1144ac2 (diff)
downloadNim-3ccf667899b1358f50588fe69b2afa65de59f668.tar.gz
do not set mem functions on osx
Diffstat (limited to 'lib')
-rw-r--r--lib/wrappers/openssl.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wrappers/openssl.nim b/lib/wrappers/openssl.nim
index bca7b3a40..03729dbab 100644
--- a/lib/wrappers/openssl.nim
+++ b/lib/wrappers/openssl.nim
@@ -298,7 +298,7 @@ when not useWinVersion:
     if p != nil: dealloc(p)
 
 proc CRYPTO_malloc_init*() =
-  when not useWinVersion:
+  when not useWinVersion and not defined(macosx):
     CRYPTO_set_mem_functions(allocWrapper, reallocWrapper, deallocWrapper)
 
 proc SSL_CTX_ctrl*(ctx: SslCtx, cmd: cInt, larg: int, parg: pointer): int{.