Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

WinRT: build fixes

  • Loading branch information
DavidLudwig committed Feb 24, 2013
1 parent f1069fa commit 9a9fdf0b414cfd77d1fbb0121bbd888bfb011586

File 2 of 2 in 9a9fdf0

@@ -325,6 +325,10 @@ stdio_seek(SDL_RWops * context, Sint64 offset, int whence)
if (fseeko(context->hidden.stdio.fp, (off_t)offset, whence) == 0) {
return ftello(context->hidden.stdio.fp);
}
#elif defined(HAVE__FSEEKI64)
if (_fseeki64(context->hidden.stdio.fp, offset, whence) == 0) {
return _ftelli64(context->hidden.stdio.fp);
}
#else
if (fseek(context->hidden.stdio.fp, offset, whence) == 0) {
return (ftell(context->hidden.stdio.fp));

0 comments on commit 9a9fdf0

Please sign in to comment.