diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2022-01-18 08:21:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 08:21:08 -0700 |
commit | d0b7831915deff7c421b13ead783b314b20042e0 (patch) | |
tree | 21c99f0e8c293c282a663c90af6b5d4ed336eac4 | |
parent | 381684986a20cc5c41afb9fe4a9abc5507684305 (diff) | |
parent | 60dc6b79a675904fcb49e99f7f5dc62d3628a6d9 (diff) | |
download | numpy-d0b7831915deff7c421b13ead783b314b20042e0.tar.gz |
Merge pull request #20847 from rgommers/fix-mingw-warning
MAINT: remove outdated mingw32 fseek support
-rw-r--r-- | numpy/core/include/numpy/npy_common.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/numpy/core/include/numpy/npy_common.h b/numpy/core/include/numpy/npy_common.h index 88794ca07..1d6234e20 100644 --- a/numpy/core/include/numpy/npy_common.h +++ b/numpy/core/include/numpy/npy_common.h @@ -180,12 +180,6 @@ defined(__MINGW32__) || defined(__MINGW64__) #include <io.h> -/* mingw based on 3.4.5 has lseek but not ftell/fseek */ -#if defined(__MINGW32__) || defined(__MINGW64__) -extern int __cdecl _fseeki64(FILE *, long long, int); -extern long long __cdecl _ftelli64(FILE *); -#endif - #define npy_fseek _fseeki64 #define npy_ftell _ftelli64 #define npy_lseek _lseeki64 |