Skip to content

Commit 8c8ab83

Browse files
kouv0dro
authored andcommitted
Remove needless macro existence checks from extconf.rb (#590)
Macro existence can be checked by #ifndef and nmatrix.h already does.
1 parent a0200a4 commit 8c8ab83

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/nmatrix/mkmf.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,3 @@ def gplusplus_version
9696
CONFIG['warnflags'].gsub!('-Wimplicit-function-declaration', '')
9797

9898
have_func("rb_array_const_ptr", "ruby.h")
99-
have_macro("FIX_CONST_VALUE_PTR", "ruby.h")
100-
have_macro("RARRAY_CONST_PTR", "ruby.h")
101-
have_macro("RARRAY_AREF", "ruby.h")
102-
103-

0 commit comments

Comments
 (0)