diff options
| author | Tomasz Dabrowski <[email protected]> | 2017-09-25 13:11:20 +0200 |
|---|---|---|
| committer | Tomasz Dabrowski <[email protected]> | 2017-09-25 13:11:20 +0200 |
| commit | e00b48be4a9aeed07f81950d71cbfcbefe775c24 (patch) | |
| tree | 83eec8bc6ca327fa324e4b4067feaf56c77c4bd8 /mrbgems/mruby-time/src/time.c | |
| parent | 7450a774a5f796f7e9d312ba9c9690097f4aa309 (diff) | |
| download | mruby-e00b48be4a9aeed07f81950d71cbfcbefe775c24.tar.gz mruby-e00b48be4a9aeed07f81950d71cbfcbefe775c24.zip | |
change DISABLE_STDIO to MRB_DISABLE_STDIO in mruby-time/time.c
Diffstat (limited to 'mrbgems/mruby-time/src/time.c')
| -rw-r--r-- | mrbgems/mruby-time/src/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mrbgems/mruby-time/src/time.c b/mrbgems/mruby-time/src/time.c index 5e8624830..205c6dc33 100644 --- a/mrbgems/mruby-time/src/time.c +++ b/mrbgems/mruby-time/src/time.c @@ -10,7 +10,7 @@ #include <mruby/class.h> #include <mruby/data.h> -#ifndef DISABLE_STDIO +#ifndef MRB_DISABLE_STDIO #include <stdio.h> #else #include <string.h> @@ -173,7 +173,7 @@ static const mrb_timezone_name timezone_names[] = { { "LOCAL", sizeof("LOCAL") - 1 }, }; -#ifndef DISABLE_STDIO +#ifndef MRB_DISABLE_STDIO static const char mon_names[12][4] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", }; @@ -541,7 +541,7 @@ mrb_time_asctime(mrb_state *mrb, mrb_value self) struct tm *d = &tm->datetime; int len; -#if defined(DISABLE_STDIO) +#if defined(MRB_DISABLE_STDIO) char *s; # ifdef NO_ASCTIME_R s = asctime(d); |
