fixes DLL hell on Windows
This commit is contained in:
parent
49d810f341
commit
0320c0c73b
5 changed files with 41 additions and 7 deletions
|
|
@ -42,8 +42,14 @@ pdcwin.h:
|
|||
when defined(windows):
|
||||
import windows
|
||||
|
||||
when defined(nimOldDlls):
|
||||
const pdcursesdll = "pdcurses.dll"
|
||||
elif defined(cpu64):
|
||||
const pdcursesdll = "pdcurses64.dll"
|
||||
else:
|
||||
const pdcursesdll = "pdcurses32.dll"
|
||||
|
||||
const
|
||||
pdcursesdll = "pdcurses.dll"
|
||||
unixOS = false
|
||||
{.pragma: extdecl, stdcall.}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue