Skip to content
Browse files

gi: check enum ruby_value_type availability

  • Loading branch information...
1 parent 16bba94 commit 7d052ce51c0d04b7aa10d5e059778ed225a30ce2 @kou kou committed Dec 30, 2012
View
3 gobject-introspection/ext/gobject-introspection/extconf.rb
@@ -66,6 +66,9 @@
make_version_header("GI", package_id, ".")
+ruby_headers = ["ruby.h"]
+have_type("enum ruby_value_type", ruby_headers)
+
gi_headers = ["girepository.h"]
have_func("g_interface_info_find_signal", gi_headers)
View
2 gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h
@@ -37,7 +37,7 @@
# define RB_TYPE_P(object, type) (TYPE(object) == type)
#endif
-#ifndef RUBY_T_FIXNUM
+#ifndef HAVE_TYPE_ENUM_RUBY_VALUE_TYPE
# define RUBY_T_FIXNUM T_FIXNUM
#endif

0 comments on commit 7d052ce

Please sign in to comment.
Something went wrong with that request. Please try again.