summary refs log tree commit diff stats
path: root/compiler/evalffi.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-12-19 21:45:18 +0100
committerAraq <rumpf_a@web.de>2012-12-19 21:45:18 +0100
commitb6c8e16b0f23b09fc4c35e3c2542b75c32152e62 (patch)
tree9dd6e9b6d26f524dbfebdb25d839d00b299574cd /compiler/evalffi.nim
parentc73d9fdd4c5d216b75ae4dc7659ea6c19c13ad15 (diff)
downloadNim-b6c8e16b0f23b09fc4c35e3c2542b75c32152e62.tar.gz
bugfix: openssl import for macosx
Diffstat (limited to 'compiler/evalffi.nim')
-rw-r--r--compiler/evalffi.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/evalffi.nim b/compiler/evalffi.nim
index 35659ed26..464c932f9 100644
--- a/compiler/evalffi.nim
+++ b/compiler/evalffi.nim
@@ -33,6 +33,9 @@ proc getDll(cache: var TDllCache; dll: string): pointer =
       InternalError("cannot load: " & dll)
     cache[dll] = result
 
+const
+  nkPtrLit = nkIntLit # hopefully we can get rid of this hack soon
+
 proc importcSymbol*(sym: PSym): PNode =
   let name = ropeToStr(sym.loc.r)