fix load error
parent
0294308c4c
commit
847205432f
|
@ -1,4 +1,4 @@
|
||||||
USING: alien.c-types alien.syntax kernel math ;
|
USING: alien.c-types alien.syntax kernel math unix.types ;
|
||||||
IN: structs
|
IN: structs
|
||||||
|
|
||||||
C-STRUCT: timeval
|
C-STRUCT: timeval
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
USING: kernel alien.syntax alien.c-types math ;
|
! Copyright (C) 2008 Doug Coleman.
|
||||||
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
|
USING: kernel alien.syntax alien.c-types math unix.types ;
|
||||||
IN: unix.time
|
IN: unix.time
|
||||||
|
|
||||||
TYPEDEF: uint time_t
|
|
||||||
|
|
||||||
C-STRUCT: tm
|
C-STRUCT: tm
|
||||||
{ "int" "sec" } ! Seconds: 0-59 (K&R says 0-61?)
|
{ "int" "sec" } ! Seconds: 0-59 (K&R says 0-61?)
|
||||||
{ "int" "min" } ! Minutes: 0-59
|
{ "int" "min" } ! Minutes: 0-59
|
||||||
|
|
Loading…
Reference in New Issue