bugfix: fd_set mustn't be prefixed with struct

This commit is contained in:
Andreas Rumpf
2010-01-14 00:05:02 +01:00
parent fb2ae12c49
commit 324b1e9d21
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
# Nimrod PostgreSQL database wrapper
# (c) 2009 Andreas Rumpf
# (c) 2010 Andreas Rumpf
import strutils, postgres

View File

@@ -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