]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/calendar/unix/unix.factor
classes.struct: moving to new/boa instead of <struct>/<struct-boa>
[factor.git] / basis / calendar / unix / unix.factor
index 3fbe252511a474a8a728d8c596e298bfef3ca18f..c888e3457df63094f5d9d7637bab17b5800983dc 100644 (file)
@@ -35,7 +35,7 @@ M: unix gmt-offset
     get-time gmtoff>> 3600 /mod 60 /mod ;
 
 : current-timeval ( -- timeval )
-    timeval <struct> [ f gettimeofday io-error ] keep ; inline
+    timeval new [ f gettimeofday io-error ] keep ; inline
 
 : system-micros ( -- n )
     current-timeval timeval>micros ;