[x265] fseeko for mingw32

Satoshi Nakagawa nakagawa424 at oki.com
Wed Nov 19 07:42:07 CET 2014


# HG changeset patch
# User Satoshi Nakagawa <nakagawa424 at oki.com>
# Date 1416379165 -32400
#      Wed Nov 19 15:39:25 2014 +0900
# Node ID 591547ce9293eef8bfe68a8687e81c5aa1650e2a
# Parent  d059cfa88f1ac79b319bd8a05bc70704d454f0ba
fseeko for mingw32

diff -r d059cfa88f1a -r 591547ce9293 source/common/common.h
--- a/source/common/common.h	Tue Nov 18 14:11:12 2014 -0600
+++ b/source/common/common.h	Wed Nov 19 15:39:25 2014 +0900
@@ -56,6 +56,10 @@
 #define x265_stack_align(func, ...) func(__VA_ARGS__)
 #endif
 
+#if defined(__MINGW32__)
+#define fseeko fseeko64
+#endif
+
 #elif defined(_MSC_VER)
 
 #define ALIGN_VAR_8(T, var)  __declspec(align(8)) T var


More information about the x265-devel mailing list