]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (C) 2013 nu774 | |
3 | * For conditions of distribution and use, see copyright notice in COPYING | |
4 | */ | |
5 | #ifndef COMPAT_H | |
6 | #define COMPAT_H | |
7 | ||
8 | #ifndef HAVE_FSEEKO | |
9 | # if HAVE_FSEEKO64 | |
10 | # define fseeko fseeko64 | |
11 | # define ftello ftello64 | |
12 | # elif _MSC_VER >= 1400 | |
13 | # define fseeko _fseeki64 | |
14 | # define ftello _ftelli64 | |
15 | # else | |
16 | # define fseeko fseek | |
17 | # define ftello ftell | |
18 | # endif | |
19 | #endif | |
20 | ||
21 | int64_t aacenc_timer(void); | |
22 | FILE *aacenc_fopen(const char *name, const char *mode); | |
23 | void aacenc_getmainargs(int *argc, char ***argv); | |
24 | char *aacenc_to_utf8(const char *s); | |
25 | int aacenc_fprintf(FILE *fp, const char *fmt, ...); | |
26 | const char *aacenc_basename(const char *path); | |
27 | ||
28 | #endif |