ext/ox/ox.h in ox-1.8.4 vs ext/ox/ox.h in ox-1.8.5

- old
+ new

@@ -186,10 +186,12 @@ char mode; /* LoadMode */ char effort; /* Effort */ char sym_keys; /* symbolize keys */ #ifdef HAVE_RUBY_ENCODING_H rb_encoding *rb_enc; +#elif HAS_PRIVATE_ENCODING + VALUE rb_enc; #else void *rb_enc; #endif } *Options; @@ -236,10 +238,11 @@ extern ID ox_end_instruct_id; extern ID ox_error_id; extern ID ox_excl_id; extern ID ox_external_encoding_id; extern ID ox_fileno_id; +extern ID ox_force_encoding_id; extern ID ox_inspect_id; extern ID ox_instruct_id; extern ID ox_jd_id; extern ID ox_keys_id; extern ID ox_local_id; @@ -261,9 +264,11 @@ extern ID ox_tv_usec_id; extern ID ox_value_id; #if HAS_ENCODING_SUPPORT extern rb_encoding *ox_utf8_encoding; +#elif HAS_PRIVATE_ENCODING +extern VALUE ox_utf8_encoding; #else extern void *ox_utf8_encoding; #endif extern VALUE ox_date_class;