From ce9b57032ed3f580aa82a4a8d3187e2187f23b5a Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 14 Jan 2010 21:06:13 -0800 Subject: [PATCH] Complex define cleanup. --- Cython/Compiler/PyrexTypes.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index 6d7d608a..e20f91cb 100644 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -1106,15 +1106,7 @@ proto=""" complex_from_parts_utility_code = UtilityCode( proto_block='utility_code_proto', proto=""" -#if CYTHON_CCOMPLEX - #ifdef __cplusplus - static INLINE %(type)s %(type_name)s_from_parts(%(real_type)s, %(real_type)s); - #else - static INLINE %(type)s %(type_name)s_from_parts(%(real_type)s, %(real_type)s); - #endif -#else - static INLINE %(type)s %(type_name)s_from_parts(%(real_type)s, %(real_type)s); -#endif +static INLINE %(type)s %(type_name)s_from_parts(%(real_type)s, %(real_type)s); """, impl=""" #if CYTHON_CCOMPLEX -- 2.26.2