summary refs log tree commit diff stats
path: root/lib/windows
diff options
context:
space:
mode:
Diffstat (limited to 'lib/windows')
-rwxr-xr-xlib/windows/nb30.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/windows/nb30.nim b/lib/windows/nb30.nim
index 527e3a9e2..a7fd526aa 100755
--- a/lib/windows/nb30.nim
+++ b/lib/windows/nb30.nim
@@ -21,7 +21,7 @@ const
 
 type                          # Network Control Block
   PNCB* = ptr TNCB
-  TNCBPostProc* = proc (P: PNCB)
+  TNCBPostProc* = proc (P: PNCB) {.stdcall.}
   TNCB* {.final.} = object # Structure returned to the NCB command NCBASTAT is ADAPTER_STATUS followed
                            # by an array of NAME_BUFFER structures.
     ncb_command*: Char        # command code