Commit 79bc0fc3 authored by Jan Gerber's avatar Jan Gerber
Browse files

fix cross compile build with mingw-w64-i686

parent 9c8b28de
......@@ -44,6 +44,7 @@ prefixes = SCons.Util.Split("""
i486-mingw32msvc-
i586-mingw32msvc-
i686-mingw32msvc-
i686-w64-mingw32-
""")
def find(env):
......
......@@ -36,11 +36,6 @@
#endif
#endif
#ifdef WIN32
#define fseeko fseeko64
#define ftello ftello64
#endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
......@@ -51,6 +46,13 @@
#include <math.h>
#include <limits.h>
#ifdef WIN32
#if !defined(fseeko)
#define fseeko fseeko64
#define ftello ftello64
#endif
#endif
#include "theora/theoraenc.h"
#include "vorbis/codec.h"
#include "vorbis/vorbisenc.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment