39 #ifndef FLAC__SHARE__COMPAT_H 40 #define FLAC__SHARE__COMPAT_H 42 #if defined _WIN32 && !defined __CYGWIN__ 49 #if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__ 50 #include <sys/types.h> 51 #define FLAC__off_t __int64 52 #if !defined __MINGW32__ 53 #define fseeko _fseeki64 54 #define ftello _ftelli64 56 #if !defined(HAVE_FSEEKO) 57 #define fseeko fseeko64 58 #define ftello ftello64 62 #define FLAC__off_t off_t 66 #define __STDC_FORMAT_MACROS 71 #define strtoll _strtoi64 72 #define strtoull _strtoui64 76 #define inline __inline 79 #if defined __INTEL_COMPILER || (defined _MSC_VER && defined _WIN64) 81 #define flac_restrict __restrict 82 #elif defined __GNUC__ 83 #define flac_restrict __restrict__ 88 #define FLAC__U64L(x) x##ULL 90 #if defined _MSC_VER || defined __MINGW32__ 91 #define FLAC__STRCASECMP _stricmp 92 #define FLAC__STRNCASECMP _strnicmp 93 #elif defined __BORLANDC__ 94 #define FLAC__STRCASECMP stricmp 95 #define FLAC__STRNCASECMP strnicmp 97 #define FLAC__STRCASECMP strcasecmp 98 #define FLAC__STRNCASECMP strncasecmp 101 #if defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ || defined __EMX__ 108 #if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__ 109 #if defined __BORLANDC__ 112 #include <sys/utime.h> 115 #include <sys/types.h> 120 # if _MSC_VER >= 1800 121 # include <inttypes.h> 122 # elif _MSC_VER >= 1600 125 # define PRIu64 "llu" 126 # define PRId64 "lld" 127 # define PRIx64 "llx" 131 # define UINT32_MAX _UI32_MAX 136 typedef unsigned __int8
uint8_t;
141 # define PRIu64 "I64u" 142 # define PRId64 "I64d" 143 # define PRIx64 "I64x" 147 #if defined(_WIN32) && defined(NEED_UTF8_SUPPORT) 151 #define flac_printf printf_utf8 152 #define flac_fprintf fprintf_utf8 153 #define flac_vfprintf vfprintf_utf8 156 #define flac_fopen flac_internal_fopen_utf8 157 #define flac_chmod flac_internal_chmod_utf8 158 #define flac_utime flac_internal_utime_utf8 159 #define flac_unlink flac_internal_unlink_utf8 160 #define flac_rename flac_internal_rename_utf8 161 #define flac_stat flac_internal_stat64_utf8 165 #define flac_printf printf 166 #define flac_fprintf fprintf 167 #define flac_vfprintf vfprintf 169 #define flac_fopen fopen 170 #define flac_chmod chmod 171 #define flac_utime utime 172 #define flac_unlink unlink 173 #define flac_rename rename 174 #define flac_stat stat 179 #define flac_stat_s __stat64 180 #define flac_fstat _fstat64 182 #define flac_stat_s stat 183 #define flac_fstat fstat 187 #define M_LN2 0.69314718055994530942 190 #define M_PI 3.14159265358979323846 GLsizeiptr size
Definition: glext.h:6559
int flac_snprintf(char *str, size_t size, const char *fmt,...)
signed short int16_t
Definition: stdint.h:122
signed int int32_t
Definition: stdint.h:123
signed __int64 int64_t
Definition: stdint.h:135
unsigned short uint16_t
Definition: stdint.h:125
unsigned __int64 uint64_t
Definition: stdint.h:136
int flac_vsnprintf(char *str, size_t size, const char *fmt, va_list va)
unsigned char uint8_t
Definition: stdint.h:124
unsigned int uint32_t
Definition: stdint.h:126
const char *const str
Definition: portlistingparse.c:18
signed char int8_t
Definition: stdint.h:121