From b6c8e16b0f23b09fc4c35e3c2542b75c32152e62 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 19 Dec 2012 21:45:18 +0100 Subject: bugfix: openssl import for macosx --- compiler/evalffi.nim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler/evalffi.nim') 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) -- cgit 1.4.1-2-gfad0