From 437013cc1940d3f0d8c897266a6c7d6122b068fc Mon Sep 17 00:00:00 2001 From: Yusuke Nakamura Date: Mon, 24 Nov 2014 14:00:28 +0900 Subject: [PATCH] osdep: Move lsmash_{fseek|ftell} definitions. --- common/internal.h | 5 ----- common/osdep.h | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/common/internal.h b/common/internal.h index 1234a4b..53bf751 100644 --- a/common/internal.h +++ b/common/internal.h @@ -27,11 +27,6 @@ #include #include -#ifndef lsmash_fseek -#define lsmash_fseek fseeko -#define lsmash_ftell ftello -#endif - #include "lsmash.h" #include "utils.h" diff --git a/common/osdep.h b/common/osdep.h index 1a7ef12..645c773 100644 --- a/common/osdep.h +++ b/common/osdep.h @@ -30,6 +30,9 @@ #ifdef __MINGW32__ #define lsmash_fseek fseeko64 #define lsmash_ftell ftello64 +#else +#define lsmash_fseek fseeko +#define lsmash_ftell ftello #endif #ifdef _MSC_VER -- 2.11.4.GIT