Commit fff83e27 authored by Andi Vajda's avatar Andi Vajda
Browse files

use #if U_ICU_VERSION_HEX < VERSION_HEX(69, 0, 0)

parent 6bdc7a5b
......@@ -597,7 +597,7 @@ DECLARE_BY_VALUE_TYPE(FormattedNumber, t_formattednumber, FormattedValue,
/* FormattedNumberRange */
/* t_formattednumberrange declared in numberformat.h */
#if U_ICU_VERSION_HEX <= VERSION_HEX(68, 0, 0)
#if U_ICU_VERSION_HEX < VERSION_HEX(69, 0, 0)
static PyObject *t_formattednumberrange_getFirstDecimal(
t_formattednumberrange *self);
static PyObject *t_formattednumberrange_getSecondDecimal(
......@@ -611,7 +611,7 @@ static PyObject *t_formattednumberrange_getDecimalNumbers(
#endif
static PyMethodDef t_formattednumberrange_methods[] = {
#if U_ICU_VERSION_HEX <= VERSION_HEX(68, 0, 0)
#if U_ICU_VERSION_HEX < VERSION_HEX(69, 0, 0)
DECLARE_METHOD(t_formattednumberrange, getFirstDecimal, METH_NOARGS),
DECLARE_METHOD(t_formattednumberrange, getSecondDecimal, METH_NOARGS),
#endif
......@@ -5212,7 +5212,7 @@ static PyObject *t_formattednumber_getOutputUnit(t_formattednumber *self)
/* FormattedNumberRange */
#if U_ICU_VERSION_HEX <= VERSION_HEX(68, 0, 0)
#if U_ICU_VERSION_HEX < VERSION_HEX(69, 0, 0)
static PyObject *t_formattednumberrange_getFirstDecimal(
t_formattednumberrange *self)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment