ext/reot/reot.cpp in reot-0.0.1 vs ext/reot/reot.cpp in reot-0.0.2
- old
+ new
@@ -5,9 +5,13 @@
// Include the Ruby headers and goodies
#include "ruby.h"
#include "OpenTypeUtilities.h"
+#ifndef SIZE_MAX
+# define SIZE_MAX UINT_MAX
+#endif
+
VALUE Reot = Qnil;
extern "C" void Init_reot();
extern "C" VALUE method_convert(VALUE self, VALUE filepath, VALUE destination);