Skip to content

Commit 759e0cd

Browse files
committed
strtoull and strtoll are mandatory
1 parent ee2103b commit 759e0cd

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ stages:
114114
python3 -m pip install -v . && \
115115
python3 runtests.py -n --debug-info --mode=full -- -rsx --junitxml=junit/test-results.xml && \
116116
python3 tools/openblas_support.py --check_version"
117-
displayName: 'Run 32-bit manylinux2010 Docker Build / Tests'
117+
displayName: 'Run 32-bit manylinux2014 Docker Build / Tests'
118118
- task: PublishTestResults@2
119119
condition: succeededOrFailed()
120120
inputs:

numpy/core/src/common/numpyos.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -770,27 +770,12 @@ NumPyOS_ascii_ftoLf(FILE *fp, long double *value)
770770
NPY_NO_EXPORT npy_longlong
771771
NumPyOS_strtoll(const char *str, char **endptr, int base)
772772
{
773-
#if defined HAVE_STRTOLL
774773
return strtoll(str, endptr, base);
775-
#elif defined _MSC_VER
776-
return _strtoi64(str, endptr, base);
777-
#else
778-
/* ok on 64 bit posix */
779-
return PyOS_strtol(str, endptr, base);
780-
#endif
781774
}
782775

783776
NPY_NO_EXPORT npy_ulonglong
784777
NumPyOS_strtoull(const char *str, char **endptr, int base)
785778
{
786-
#if defined HAVE_STRTOULL
787779
return strtoull(str, endptr, base);
788-
#elif defined _MSC_VER
789-
return _strtoui64(str, endptr, base);
790-
#else
791-
/* ok on 64 bit posix */
792-
return PyOS_strtoul(str, endptr, base);
793-
#endif
794780
}
795781

796-

0 commit comments

Comments
 (0)