diff options
| -rw-r--r-- | numpy/core/src/arraytypes.inc.src | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/numpy/core/src/arraytypes.inc.src b/numpy/core/src/arraytypes.inc.src index aacee298e..a973a9dac 100644 --- a/numpy/core/src/arraytypes.inc.src +++ b/numpy/core/src/arraytypes.inc.src @@ -760,7 +760,6 @@ static int #func=(l,ul)*5# #btype=(long,ulong)*5# */ -#if (PY_VERSION_HEX >= 0x02040000) || defined(PyOS_ascii_strtod) static int @fname@_fromstr(char *str, @type@ *ip, char **endptr, void *ignore) { @@ -770,16 +769,13 @@ static int *ip = (@type@) result; return 0; } -#else -#define @fname@_fromstr NULL -#endif /**end repeat**/ /**begin repeat #fname=FLOAT,DOUBLE,LONGDOUBLE# #type=float,double,longdouble# */ -#if PY_VERSION_HEX >= 0x02040000 +#if (PY_VERSION_HEX >= 0x02040000) || defined(PyOS_ascii_strtod) static int @fname@_fromstr(char *str, @type@ *ip, char **endptr, void *ignore) { |
