20 unsigned int tzmode:3;
21 unsigned int tm_got:1;
24 #define TIME_SCALE 1000000000
26 #ifndef TYPEOF_TIMEVAL_TV_SEC
27 # define TYPEOF_TIMEVAL_TV_SEC time_t
29 #ifndef TYPEOF_TIMEVAL_TV_USEC
30 # if INT_MAX >= 1000000
31 # define TYPEOF_TIMEVAL_TV_USEC int
33 # define TYPEOF_TIMEVAL_TV_USEC long
37 #if SIZEOF_TIME_T == SIZEOF_LONG
38 typedef unsigned long unsigned_time_t;
39 #elif SIZEOF_TIME_T == SIZEOF_INT
40 typedef unsigned int unsigned_time_t;
41 #elif SIZEOF_TIME_T == SIZEOF_LONG_LONG
42 typedef unsigned LONG_LONG unsigned_time_t;
44 # error cannot find integer type which size is same as time_t.
48 #ifdef RUBY_ENCODING_H
49 VALUE rb_strftime_timespec(
const char *format,
size_t format_len,
rb_encoding *enc,
uintptr_t VALUE
Type that represents a Ruby object.