summary refs log tree commit diff stats
path: root/doc/c2nim.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/c2nim.txt')
-rwxr-xr-xdoc/c2nim.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/c2nim.txt b/doc/c2nim.txt
index c485a57f1..4890f38bf 100755
--- a/doc/c2nim.txt
+++ b/doc/c2nim.txt
@@ -119,7 +119,7 @@ from a C function prototype with the ``dynlib`` pragma:
   #  if defined(windows)
   #    define iupdll "iup.dll"
   #  elif defined(macosx)
-  #    define iupdll "libiup.dynlib"
+  #    define iupdll "libiup.dylib"
   #  else
   #    define iupdll "libiup.so"
   #  endif
@@ -133,7 +133,7 @@ Is translated to:
   when defined(windows):
     const iupdll* = "iup.dll"
   elif defined(macosx):
-    const iupdll* = "libiup.dynlib"
+    const iupdll* = "libiup.dylib"
   else:
     const iupdll* = "libiup.so"