summaryrefslogtreecommitdiff
path: root/lib-src/make-fingerprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/make-fingerprint.c')
-rw-r--r--lib-src/make-fingerprint.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib-src/make-fingerprint.c b/lib-src/make-fingerprint.c
index dc21fc2aa9a..535e5751320 100644
--- a/lib-src/make-fingerprint.c
+++ b/lib-src/make-fingerprint.c
@@ -50,6 +50,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
is really just insurance. */
#undef fopen
#include <direct.h>
+
+#ifndef MINGW_W64
+# undef fseeko
+# define fseeko fseeko64
+#endif
#endif /* WINDOWSNT */
int