Imported Upstream version 0.6.3
[fdkaac.git] / src / compat.h
... / ...
CommitLineData
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
21int64_t aacenc_timer(void);
22FILE *aacenc_fopen(const char *name, const char *mode);
23#ifdef _WIN32
24void aacenc_getmainargs(int *argc, char ***argv);
25#else
26#define aacenc_getmainargs(argc, argv) (void)0
27#endif
28char *aacenc_to_utf8(const char *s);
29#ifdef _WIN32
30int aacenc_fprintf(FILE *fp, const char *fmt, ...);
31#else
32#define aacenc_fprintf fprintf
33#endif
34const char *aacenc_basename(const char *path);
35int aacenc_seekable(FILE *fp);
36
37#endif
This page took 0.009026 seconds and 4 git commands to generate.