]> iEval git - fdkaac.git/blob - src/compat.h
New upstream version 1.0.0
[fdkaac.git] / src / compat.h
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 #ifdef _WIN32
24 void aacenc_getmainargs(int *argc, char ***argv);
25 #else
26 #define aacenc_getmainargs(argc, argv) (void)0
27 #endif
28 char *aacenc_to_utf8(const char *s);
29 #ifdef _WIN32
30 int aacenc_fprintf(FILE *fp, const char *fmt, ...);
31 #else
32 #define aacenc_fprintf fprintf
33 #endif
34 const char *aacenc_basename(const char *path);
35 int aacenc_seekable(FILE *fp);
36
37 #endif
This page took 0.041781 seconds and 4 git commands to generate.