summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-07 12:45:02 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-07 12:45:02 +0000
commit082480dfe47a772f7edf71aba0134eff05895ea6 (patch)
tree697f3266b29fc3dc75c7e1f2075ff1e1b4db08a4 /time.c
parentea925720fe1bbf4cbbf8bb6fc70373169ee144b1 (diff)
* time.c (ASCTIME): unused macro removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c6
1 files changed, 0 insertions, 6 deletions
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,