mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 15:31:28 +00:00
fixed some recently introduced compilation errors in the standard library
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
## to release its locks should it be part of a deadlock. This thread then
|
||||
## re-acquires its locks and proceeds.
|
||||
|
||||
include "lib/system/syslocks"
|
||||
include "system/syslocks"
|
||||
|
||||
type
|
||||
TLock* = TSysLock ## Nimrod lock; whether this is re-entrant
|
||||
|
||||
@@ -105,7 +105,7 @@ proc ShellAbout*(HWND: hWnd, szApp: LPCSTR, szOtherStuff: LPCSTR, HICON: hIcon):
|
||||
stdcall, dynlib: "shell32.dll", importc: "ShellAboutA".}
|
||||
proc ShellAbout*(HWND: hWnd, szApp: LPCWSTR, szOtherStuff: LPCWSTR, HICON: hIcon): int32{.
|
||||
stdcall, dynlib: "shell32.dll", importc: "ShellAboutW".}
|
||||
proc DuplicateIcon*(hinst: HINST, HICON: hIcon): HIcon{.stdcall,
|
||||
proc DuplicateIcon*(inst: HINST, icon: HICON): HIcon{.stdcall,
|
||||
dynlib: "shell32.dll", importc: "DuplicateIcon".}
|
||||
proc ExtractAssociatedIconA*(hInst: HINST, lpIconPath: LPSTR, lpiIcon: LPWORD): HICON{.
|
||||
stdcall, dynlib: "shell32.dll", importc: "ExtractAssociatedIconA".}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
const
|
||||
myRes = slurp"readme.txt"
|
||||
myRes = slurp"../../readme.txt"
|
||||
|
||||
echo myRes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user