mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 19:22:40 +00:00
bugfix: fd_set mustn't be prefixed with struct
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Nimrod PostgreSQL database wrapper
|
||||
# (c) 2009 Andreas Rumpf
|
||||
# (c) 2010 Andreas Rumpf
|
||||
|
||||
import strutils, postgres
|
||||
|
||||
|
||||
@@ -372,7 +372,7 @@ type
|
||||
final, pure.} = object ## struct timeval
|
||||
tv_sec*: int ## Seconds.
|
||||
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
|
||||
Tmcontext* {.importc: "mcontext_t", header: "<ucontext.h>",
|
||||
final, pure.} = object
|
||||
|
||||
Reference in New Issue
Block a user