summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorcremno <[email protected]>2014-01-02 07:33:33 +0100
committercremno <[email protected]>2014-01-02 07:33:33 +0100
commit18433731edff73cc5254a76c86b7272a1430d0f7 (patch)
tree10b527f38066f60aef24a961de5c37ee39dc155b /src/string.c
parente8dd8180baae425c893e1054368a4c32c99ea805 (diff)
downloadmruby-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.c7
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>