Skip to content

Commit 245c3d1

Browse files
committed
Remove leftover ifdef HAVE_RB_BIG_CMP
1 parent 17fe755 commit 245c3d1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ext/mysql2/statement.c

-6
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ VALUE cMysql2Statement;
44
extern VALUE mMysql2, cMysql2Error, cBigDecimal, cDateTime, cDate;
55
static VALUE sym_stream, intern_new_with_args, intern_each, intern_to_s;
66
static VALUE intern_sec_fraction, intern_usec, intern_sec, intern_min, intern_hour, intern_day, intern_month, intern_year;
7-
#ifndef HAVE_RB_BIG_CMP
8-
static ID id_cmp;
9-
#endif
107

118
#define GET_STATEMENT(self) \
129
mysql_stmt_wrapper *stmt_wrapper; \
@@ -565,7 +562,4 @@ void init_mysql2_statement() {
565562
intern_year = rb_intern("year");
566563

567564
intern_to_s = rb_intern("to_s");
568-
#ifndef HAVE_RB_BIG_CMP
569-
id_cmp = rb_intern("<=>");
570-
#endif
571565
}

0 commit comments

Comments
 (0)