Commit Graph

15 Commits

Author SHA1 Message Date
Yukihiro Matsumoto b706b4cba4 gmtime_r emulated by gmtime_s should return struct tm*; close #146 2012-05-17 02:39:28 +09:00
mattn 25d787286b fix #127 on mingw. 2012-05-16 09:32:30 +09:00
Yukihiro Matsumoto 50a1d30291 emulate gmtime_r/localtime_r by gmtime_s/localtime_s on Windows 2012-05-13 19:46:57 +09:00
mattn 46d8941db6 fix #ifdef to pass on windows. 2012-05-08 11:17:02 +09:00
Yukihiro Matsumoto 5684a38382 rename current_time -> current_mrb_time 2012-05-08 01:19:13 +09:00
Yukihiro Matsumoto cad39f2581 add 1usec to differentiate two times 2012-05-08 01:18:30 +09:00
Yukihiro Matsumoto aae293a002 rename macros NO_USE_ -> NO_ 2012-05-08 01:11:22 +09:00
Yukihiro Matsumoto de262d5ba8 update time configuration; now config macros can be supplied by -D compiler option 2012-05-07 23:54:45 +09:00
Yukihiro Matsumoto 395cb9c1e5 use portable gmtime 2012-05-07 23:37:12 +09:00
Yukihiro Matsumoto 4f1f243fe7 initialize_copy: copy destination object may not be intialized 2012-05-07 18:02:32 +09:00
mattn 5482c2eeb3 remove warning. 2012-05-07 15:44:10 +09:00
mattn 5143314297 time functions on windows. 2012-05-07 14:24:23 +09:00
Yukihiro Matsumoto 4f9a7e90ad test_time should pass 2012-05-06 02:15:25 +09:00
Yukihiro Matsumoto b0e94d8c14 Time class available; based on code from @beoran; sorry for jumbo patch 2012-05-06 00:52:22 +09:00
Yukihiro Matsumoto e806f55e69 move mrb_str_new prototype to mruby.h 2012-05-04 22:39:21 +09:00