Commit 30ba2ac1 authored by Mark Florisson's avatar Mark Florisson

Avoid llabs() in C89

parent 3bb8bd2f
......@@ -19,7 +19,7 @@ proto = """
abs_int_utility_code = UtilityCode(
proto = '''
#if HAVE_LONG_LONG
#if HAVE_LONG_LONG && defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define __Pyx_abs_int(x) \
((sizeof(x) <= sizeof(int)) ? ((unsigned int)abs(x)) : \
((sizeof(x) <= sizeof(long)) ? ((unsigned long)labs(x)) : \
......
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