1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* time.c (ASCTIME): unused macro removed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-04-07 12:45:02 +00:00
parent ea925720fe
commit 082480dfe4
2 changed files with 4 additions and 6 deletions

View file

@ -1,3 +1,7 @@
Wed Apr 7 21:44:14 2010 Tanaka Akira <akr@fsij.org>
* time.c (ASCTIME): unused macro removed.
Wed Apr 7 16:45:49 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (Makefile): reverted r27244.

6
time.c
View file

@ -892,12 +892,6 @@ rb_localtime_r2(const time_t *t, struct tm *result)
# define GMTIME(tm, result) rb_gmtime_r2((tm), &(result))
#endif
#ifdef HAVE_GMTIME_R
#define ASCTIME(tm, buf) asctime_r((tm), (buf))
#else
#define ASCTIME(tm, buf) asctime(tm)
#endif
static const int common_year_yday_offset[] = {
-1,
-1 + 31,