From de18fb07898fd602b7c395823ca167c3aa22cb4c Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Tue, 22 Jun 2010 15:13:07 -0400 Subject: [PATCH] Fix unix.time to actually load --- basis/unix/time/time.factor | 7 +------ basis/unix/types/types.factor | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/basis/unix/time/time.factor b/basis/unix/time/time.factor index bd3a02fcab..ad5a2d6d56 100644 --- a/basis/unix/time/time.factor +++ b/basis/unix/time/time.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien.c-types alien.syntax calendar +USING: accessors alien.c-types alien.syntax classes.struct kernel math unix.types ; IN: unix.time @@ -28,11 +28,6 @@ STRUCT: timezone { tz_minuteswest int } { tz_dsttime int } ; -: timestamp>timezone ( timestamp -- timezone ) - gmt-offset>> duration>minutes - 1 - \ timezone ; inline - STRUCT: tm { sec int } { min int } diff --git a/basis/unix/types/types.factor b/basis/unix/types/types.factor index ec638e6f31..c25634624f 100644 --- a/basis/unix/types/types.factor +++ b/basis/unix/types/types.factor @@ -50,6 +50,4 @@ os { { freebsd [ "unix.types.freebsd" require ] } { openbsd [ "unix.types.openbsd" require ] } { netbsd [ "unix.types.netbsd" require ] } - { winnt [ ] } } case -