diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-28 19:34:15 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-28 19:34:15 -0700 |
| commit | b29b4218171afd8ffe600d0f270b958915fc061f (patch) | |
| tree | 9be935e9d07758b6e5c7ce545c2f968d2bb7b0e5 /src/gc.c | |
| parent | 5fb12a990d4d30876ce21e6225acbef35f47b48a (diff) | |
| parent | 74f04849c4d04425e911acbe6bedb2596046f5b0 (diff) | |
| download | mruby-b29b4218171afd8ffe600d0f270b958915fc061f.tar.gz mruby-b29b4218171afd8ffe600d0f270b958915fc061f.zip | |
Merge pull request #1101 from monaka/pr-cleanup-includes
Cleanup includes
Diffstat (limited to 'src/gc.c')
| -rw-r--r-- | src/gc.c | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -4,21 +4,23 @@ ** See Copyright Notice in mruby.h */ +#ifndef SIZE_MAX + /* Some versions of VC++ + * has SIZE_MAX in stdint.h + */ +# include <limits.h> +#endif +#include <string.h> #include "mruby.h" -#include "mruby/class.h" #include "mruby/array.h" -#include "mruby/string.h" +#include "mruby/class.h" +#include "mruby/data.h" #include "mruby/hash.h" -#include "mruby/range.h" -#include <string.h> #include "mruby/proc.h" -#include "mruby/data.h" +#include "mruby/range.h" +#include "mruby/string.h" #include "mruby/variable.h" -#ifndef SIZE_MAX -#include <limits.h> // for SIZE_MAX -#endif - /* = Tri-color Incremental Garbage Collection |
