Support OTP R13B.

Remove use of R13B04 features.
This commit is contained in:
Alexey Romanov
2011-02-16 18:54:04 +03:00
parent 6fa9f738bb
commit b677cb45e8
5 changed files with 10 additions and 8 deletions

View File

@@ -318,7 +318,9 @@ static inline int decode_and_bind_param(
result = sqlite3_bind_int64(statement, param_index, int64_val);
break;
case ERL_FLOAT_EXT:
#ifdef NEW_FLOAT_EXT
case NEW_FLOAT_EXT: // what's the difference?
#endif
ei_decode_double(buffer, p_index, &double_val);
result = sqlite3_bind_double(statement, param_index, double_val);
break;