Skip to content

Commit

Permalink
Merge pull request #20907 from charris/backport-20847
Browse files Browse the repository at this point in the history
MAINT: remove outdated mingw32 fseek support
  • Loading branch information
charris committed Jan 27, 2022
2 parents cb69266 + 740c6ec commit 06388b6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions numpy/core/include/numpy/npy_common.h
Expand Up @@ -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
Expand Down

0 comments on commit 06388b6

Please sign in to comment.