We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9781558 commit 8133e64Copy full SHA for 8133e64
src/pylib/Lib/os_impl/posix_like/stat.nim
@@ -28,7 +28,7 @@ when DWin:
28
29
{.push header: "<sys/stat.h>".}
30
type
31
- Stat{.importc: "struct _stat".} = object
+ Stat{.importc: "struct _stat64".} = object
32
st_ino*: Ino
33
st_mode*: Mode
34
st_nlink*: Nlink
@@ -40,7 +40,7 @@ when DWin:
40
st_mtime*: Time64
41
st_ctime*: Time64
42
proc wstat(p: WideCString, res: var Stat): cint{.importc: "_wstat64".}
43
- proc fstat(fd: cint, res: var Stat): cint{.importc: "_fstat".}
+ proc fstat(fd: cint, res: var Stat): cint{.importc: "_fstat64".}
44
{.pop.}
45
else:
46
import std/posix
0 commit comments