X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=src%2Fcompat.h;h=4f651abb5f7791aa7071f3c3ffbf8178b93d552b;hb=ffc230a83edf094dfa39a11afe2febdee498e48e;hp=f20f03fb86cecc610a03c38b51c65bc3a27ecd13;hpb=48e2f01c5653c8f643b2a763e1cfa2efc1eccd60;p=fdkaac.git diff --git a/src/compat.h b/src/compat.h index f20f03f..4f651ab 100644 --- a/src/compat.h +++ b/src/compat.h @@ -6,7 +6,10 @@ #define COMPAT_H #ifndef HAVE_FSEEKO -# if _MSC_VER >= 1400 +# if HAVE_FSEEKO64 +# define fseeko fseeko64 +# define ftello ftello64 +# elif _MSC_VER >= 1400 # define fseeko _fseeki64 # define ftello _ftelli64 # else @@ -20,5 +23,6 @@ FILE *aacenc_fopen(const char *name, const char *mode); void aacenc_getmainargs(int *argc, char ***argv); char *aacenc_to_utf8(const char *s); int aacenc_fprintf(FILE *fp, const char *fmt, ...); +const char *aacenc_basename(const char *path); #endif