summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--time.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index f7e10b7deb..e897e7325a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/time.c b/time.c
index 08d4199fdb..f04bf5fc47 100644
--- a/time.c
+++ b/time.c
@@ -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,