diff options
| author | cremno <[email protected]> | 2014-01-02 07:33:33 +0100 |
|---|---|---|
| committer | cremno <[email protected]> | 2014-01-02 07:33:33 +0100 |
| commit | 18433731edff73cc5254a76c86b7272a1430d0f7 (patch) | |
| tree | 10b527f38066f60aef24a961de5c37ee39dc155b /src/string.c | |
| parent | e8dd8180baae425c893e1054368a4c32c99ea805 (diff) | |
| download | mruby-18433731edff73cc5254a76c86b7272a1430d0f7.tar.gz mruby-18433731edff73cc5254a76c86b7272a1430d0f7.zip | |
remove various preprocessor conditionals
- HAVE_IEEEFP_H is nowhere defined or needed at all
- FreeBSD < 4 is unsupported since years
- MSVC workaround (around what exactly?)
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/string.c b/src/string.c index 1c577188e..a687a4c29 100644 --- a/src/string.c +++ b/src/string.c @@ -5,12 +5,7 @@ */ #include <ctype.h> -#ifndef SIZE_MAX - /* Some versions of VC++ - * has SIZE_MAX in stdint.h - */ -# include <limits.h> -#endif +#include <limits.h> #include <stddef.h> #include <stdlib.h> #include <string.h> |
