fix so patch is applied correctly.
diff --git a/numpy/core/src/arraytypes.inc.src b/numpy/core/src/arraytypes.inc.src
index aacee29..a973a9d 100644
--- a/numpy/core/src/arraytypes.inc.src
+++ b/numpy/core/src/arraytypes.inc.src
@@ -760,7 +760,6 @@
#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 @@
*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)
{