bugfix: fd_set mustn't be prefixed with struct
This commit is contained in:
parent
fb2ae12c49
commit
324b1e9d21
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# Nimrod PostgreSQL database wrapper
|
# Nimrod PostgreSQL database wrapper
|
||||||
# (c) 2009 Andreas Rumpf
|
# (c) 2010 Andreas Rumpf
|
||||||
|
|
||||||
import strutils, postgres
|
import strutils, postgres
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -372,7 +372,7 @@ type
|
||||||
final, pure.} = object ## struct timeval
|
final, pure.} = object ## struct timeval
|
||||||
tv_sec*: int ## Seconds.
|
tv_sec*: int ## Seconds.
|
||||||
tv_usec*: int ## Microseconds.
|
tv_usec*: int ## Microseconds.
|
||||||
Tfd_set* {.importc: "struct fd_set", header: "<sys/select.h>",
|
Tfd_set* {.importc: "fd_set", header: "<sys/select.h>",
|
||||||
final, pure.} = object
|
final, pure.} = object
|
||||||
Tmcontext* {.importc: "mcontext_t", header: "<ucontext.h>",
|
Tmcontext* {.importc: "mcontext_t", header: "<ucontext.h>",
|
||||||
final, pure.} = object
|
final, pure.} = object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue