48e2f01c |
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 _MSC_VER >= 1400 |
10 | # define fseeko _fseeki64 |
11 | # define ftello _ftelli64 |
12 | # else |
13 | # define fseeko fseek |
14 | # define ftello ftell |
15 | # endif |
16 | #endif |
17 | |
18 | int64_t aacenc_timer(void); |
19 | FILE *aacenc_fopen(const char *name, const char *mode); |
20 | void aacenc_getmainargs(int *argc, char ***argv); |
21 | char *aacenc_to_utf8(const char *s); |
22 | int aacenc_fprintf(FILE *fp, const char *fmt, ...); |
5888fddc |
23 | const char *aacenc_basename(const char *path); |
48e2f01c |
24 | |
25 | #endif |