diff options
author | michal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-17 13:52:45 +0000 |
---|---|---|
committer | michal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-17 13:52:45 +0000 |
commit | c7e16e94e41164b9d409142a536dd80d00572dab (patch) | |
tree | ae0fe059957cddc1c37d72ae116378497a3a6a4e /time.c | |
parent | 9d298253558e899e85e4363358a30f41db95aafb (diff) | |
download | ruby-c7e16e94e41164b9d409142a536dd80d00572dab.tar.gz |
move struct timeval to missing.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -12,23 +12,12 @@ #include "ruby.h" #include <sys/types.h> - #include <time.h> -#ifndef NT -#ifdef HAVE_SYS_TIME_H -# include <sys/time.h> -#else -#define time_t long -struct timeval { - time_t tv_sec; /* seconds */ - time_t tv_usec; /* and microseconds */ -}; -#endif -#endif /* NT */ #ifdef HAVE_UNISTD_H #include <unistd.h> #endif + #include <math.h> VALUE rb_cTime; |