[packages] tcp_wrappers: Refresh patches
[openwrt/svn-archive/archive.git] / libs / libxapian / patches / 002-elif_else_replacement.patch
1 diff -urN xapian-core-1.0.7/common/serialise-double.cc xapian-core-1.0.7.new/common/serialise-double.cc
2 --- xapian-core-1.0.7/common/serialise-double.cc 2008-07-16 06:42:30.000000000 +0200
3 +++ xapian-core-1.0.7.new/common/serialise-double.cc 2010-03-29 10:07:02.000000000 +0200
4 @@ -56,7 +56,7 @@
5 # define MAX_MANTISSA_BYTES ((DBL_MANT_DIG + 1 + 1) / 2)
6 # define MAX_EXP ((DBL_MAX_EXP + 1) / 2)
7 # define MAX_MANTISSA (1 << ((DBL_MAX_EXP & 1) * 4))
8 -#elif
9 +#else
10 # error FLT_RADIX is a value not currently handled (not 2 or 16)
11 // # define MAX_MANTISSA_BYTES (sizeof(double) + 1)
12 #endif