diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-03-08 22:37:22 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-08 22:37:22 +0900 |
| commit | 0dacc9a62a1772362f82e7c53cf18d6223e8a917 (patch) | |
| tree | 5599b7521bcf5b745955bd2af80d6bc3a5d7fb20 /mrbgems/mruby-time/src | |
| parent | 5bf5a2cc6e9e78cb84118c08dd9498bbe854e7cb (diff) | |
| parent | 67606170e3ca001ecd6885dac957f4bbdb094bad (diff) | |
| download | mruby-0dacc9a62a1772362f82e7c53cf18d6223e8a917.tar.gz mruby-0dacc9a62a1772362f82e7c53cf18d6223e8a917.zip | |
Merge pull request #4954 from dearblue/nostdio
Improve configuration guard
Diffstat (limited to 'mrbgems/mruby-time/src')
| -rw-r--r-- | mrbgems/mruby-time/src/time.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mrbgems/mruby-time/src/time.c b/mrbgems/mruby-time/src/time.c index 5ce43e465..5cd4abe6d 100644 --- a/mrbgems/mruby-time/src/time.c +++ b/mrbgems/mruby-time/src/time.c @@ -14,9 +14,7 @@ #include <mruby/numeric.h> #include <mruby/time.h> -#ifndef MRB_DISABLE_STDIO -#include <stdio.h> -#else +#ifdef MRB_DISABLE_STDIO #include <string.h> #endif |
