14#ifndef MPG123_COMPAT_H
15#define MPG123_COMPAT_H
21#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
40#ifdef HAVE_SYS_SIGNAL_H
41#include <sys/signal.h>
51#ifdef HAVE_SYS_TYPES_H
66#define SIZE_MAX ((size_t)-1)
69#define SSIZE_MAX ((size_t)-1/2)
72#define ULONG_MAX ((unsigned long)-1)
90#ifdef HAVE_SYS_SELECT_H
91#include <sys/select.h>
99#define atobigint atoll
101#define atobigint atol
107#if defined(_MSC_VER) && !defined(MPG123_DEF_SSIZE_T)
108#define MPG123_DEF_SSIZE_T
127#if (defined SIZEOF_OFF_T) && (SIZEOF_OFF_T > SIZEOF_LONG) && (defined PRIiMAX)
128# define OFF_P PRIiMAX
135#if (defined SIZEOF_SIZE_T) && (SIZEOF_SIZE_T > SIZEOF_LONG) && (defined PRIuMAX)
136# define SIZE_P PRIuMAX
143#if (defined SIZEOF_SSIZE_T) && (SIZEOF_SSIZE_T > SIZEOF_LONG) && (defined PRIiMAX)
144# define SSIZE_P PRIuMAX
180#ifdef WANT_WIN32_UNICODE
285#define normal mpg123_normal
290#if (!defined(WIN32) || defined (__CYGWIN__)) && defined(HAVE_SIGNAL_H)
static unsigned char bytes[4]
UINT(* handler)(MSIPACKAGE *)
__kernel_ptrdiff_t ptrdiff_t
__MINGW_EXTENSION typedef unsigned long long uintmax_t
__MINGW_EXTENSION typedef long long intmax_t
const char * strerror(int err)
void(*)() catchsignal(int signum, void(*handler)())