diff --git a/include/mpg123/OpenMPT.txt b/include/mpg123/OpenMPT.txt index 9b2f26d1944..31f2aa5d11e 100644 --- a/include/mpg123/OpenMPT.txt +++ b/include/mpg123/OpenMPT.txt @@ -1,12 +1,6 @@ libmpg123 library version 1.32.10 (2024-12-14). The following changes have been made: * `ports/generic/config.h` has been added for build system independent builds. - * `ports/makefile/config.h` has been added for plain `Makefile` builds. - * `ports/MSVC++/config.h` has been added for MSVC builds. - * `ports/Xcode/config.h` has been retained from older versions. - * `ports/Xcode/config.h` has been modified to let the build system set - `OPT_*`. - * `ports/Xcode/config.h` has been modified to `#define HAVE_DIRENT_H`. * `src/compat/compat.c` has been modified to silence MSVC static analyzer warnings. * `src/compat/compat.c` and `src/compat/compat.c` have been modified for to diff --git a/include/mpg123/ports/MSVC++/config.h b/include/mpg123/ports/MSVC++/config.h deleted file mode 100644 index 1c66ba74fea..00000000000 --- a/include/mpg123/ports/MSVC++/config.h +++ /dev/null @@ -1,81 +0,0 @@ - -/* C99 headers */ - -#define HAVE_INTTYPES_H 1 -#define HAVE_LIMITS_H 1 -#define HAVE_LOCALE_H 1 -#define HAVE_SIGNAL_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_STDIO_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRING_H 1 - -/* POSIX headers */ - -#define HAVE_SYS_STAT_H 1 -#define HAVE_SYS_TYPES_H 1 - -/* Windows headers */ - -#define HAVE_WINDOWS_H 1 - -/* C99 functions */ - -#define HAVE_ATOLL 1 -#define HAVE_STRERROR 1 -#define HAVE_SETLOCALE 1 - -/* yeah, POSIX ... */ - -#define SIZEOF_OFF_T 4 - -/* misc functions */ - -#define strcasecmp _strcmpi -#define strncasecmp _strnicmp - -/* Windows/DOS */ - -/* Features */ - -/* #define LFS_LARGEFILE_64 1 */ - -/* libmpg123 does not care about signals */ -#define NO_CATCHSIGNAL - -/* libmpg123 does not care about directories */ -#define NO_DIR - -/* libmpg123 does not care about environment variables */ -#define NO_ENV - -/* libmpg123 does not care about file mode */ -#define NO_FILEMODE - -/* We want some frame index, eh? */ -#define FRAME_INDEX 1 -#define INDEX_SIZE 1000 - -/* also gapless playback! */ -#define GAPLESS 1 - -/* Debugging */ - -/* #define DEBUG */ -/* #define EXTRA_DEBUG */ - -/* Precision */ - -/* use floating point */ -#define REAL_IS_FLOAT 1 - -/* floating point is IEEE754 */ -#define IEEE_FLOAT 1 - -/* use rounding instead of trunction */ -#define ACCURATE_ROUNDING 1 - -/* Platform */ - -/* use the unicode support within libmpg123 */ -#define WANT_WIN32_UNICODE 1 diff --git a/include/mpg123/ports/Xcode/config.h b/include/mpg123/ports/Xcode/config.h deleted file mode 100644 index 85373407a51..00000000000 --- a/include/mpg123/ports/Xcode/config.h +++ /dev/null @@ -1,206 +0,0 @@ -#include "TargetConditionals.h" - -#if TARGET_IPHONE_SIMULATOR - #define DEFAULT_OUTPUT_MODULE "dummy" - /* #undef HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H */ - /* #undef HAVE_AUDIOUNIT_AUDIOUNIT_H */ - /* #undef HAVE_CORESERVICES_CORESERVICES_H */ - /* #undef HAVE_OPENAL_ALC_H */ - /* #undef HAVE_OPENAL_AL_H */ - #define ABI_ALIGN_FUN 1 - #define HAVE_GAI_ADDRCONFIG 1 - #define LFS_ALIAS_BITS 32 - /* #undef HAVE_LIBMX */ - #define HAVE_MMAP 1 - #define IEEE_FLOAT 1 - #define SIZEOF_INT32_T 4 - #define SIZEOF_LONG 4 - #define SIZEOF_OFF_T 8 - #define SIZEOF_SIZE_T 4 - #define SIZEOF_SSIZE_T 4 -#if 0 /* OpenMPT */ - #define OPT_GENERIC -#endif /* OpenMPT */ -#elif TARGET_OS_IPHONE - #define DEFAULT_OUTPUT_MODULE "dummy" - /* #undef HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H */ - /* #undef HAVE_AUDIOUNIT_AUDIOUNIT_H */ - /* #undef HAVE_CORESERVICES_CORESERVICES_H */ - /* #undef HAVE_OPENAL_ALC_H */ - /* #undef HAVE_OPENAL_AL_H */ - /* #undef ABI_ALIGN_FUN */ - /* #undef HAVE_GAI_ADDRCONFIG */ - #define LFS_ALIAS_BITS 32 - /* #undef HAVE_LIBMX */ - /* #undef HAVE_MMAP */ - /* #undef IEEE_FLOAT */ - #define SIZEOF_INT32_T 4 - #define SIZEOF_LONG 4 - #define SIZEOF_OFF_T 8 - #define SIZEOF_SIZE_T 4 - #define SIZEOF_SSIZE_T 4 -#if 0 /* OpenMPT */ - #define OPT_NEON -#endif /* OpenMPT */ -#elif TARGET_OS_MAC - #define DEFAULT_OUTPUT_MODULE "coreaudio" - #define HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H 1 - #define HAVE_AUDIOUNIT_AUDIOUNIT_H 1 - #define HAVE_CORESERVICES_CORESERVICES_H 1 - #define HAVE_OPENAL_ALC_H 1 - #define HAVE_OPENAL_AL_H 1 - /* #undef ABI_ALIGN_FUN */ - #define HAVE_GAI_ADDRCONFIG 1 - #define LFS_ALIAS_BITS 64 - #define HAVE_LIBMX 1 - #define HAVE_MMAP 1 - #define IEEE_FLOAT 1 - #define SIZEOF_INT32_T 4 - #define SIZEOF_LONG 8 - #define SIZEOF_OFF_T 8 - #define SIZEOF_SIZE_T 8 - #define SIZEOF_SIZE_T 8 - #define SIZEOF_SSIZE_T 8 -#if 0 /* OpenMPT */ - #define OPT_GENERIC -#endif /* OpenMPT */ -#else - #error "Unknown target." -#endif - -/* #undef ACCURATE_ROUNDING */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ -#define ASMALIGN_EXP 1 -#define CCALIGN 1 -/* #undef DEBUG */ -/* #undef DYNAMIC_BUILD */ -#define FIFO 1 -#define FRAME_INDEX 1 -#define GAPLESS 1 -/* #undef HAVE_ALC_H */ -/* #undef HAVE_ALIB_H */ -/* #undef HAVE_AL_ALC_H */ -/* #undef HAVE_AL_AL_H */ -/* #undef HAVE_AL_H */ -#define HAVE_ARPA_INET_H 1 -/* #undef HAVE_ASM_AUDIOIO_H */ -#define HAVE_ATOLL 1 -/* #undef HAVE_AUDIOS_H */ -/* #undef HAVE_CULIB_H */ -#define HAVE_DLFCN_H 1 -#define HAVE_GETADDRINFO 1 -#define HAVE_GETPAGESIZE 1 -#define HAVE_GETUID 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_LANGINFO_H 1 -#define HAVE_LIBM 1 -#define HAVE_LIMITS_H 1 -/* #undef HAVE_LINUX_SOUNDCARD_H */ -#define HAVE_LOCALE_H 1 -/* #undef HAVE_LTDL */ -/* #undef HAVE_MACHINE_SOUNDCARD_H */ -#define HAVE_MEMORY_H 1 -#define HAVE_MKFIFO 1 -#define HAVE_NETDB_H 1 -#define HAVE_NETINET_IN_H 1 -/* #undef HAVE_NETINET_TCP_H */ -#define HAVE_NL_LANGINFO 1 -/* #undef HAVE_OS2ME_H */ -/* #undef HAVE_OS2_H */ -#define HAVE_RANDOM 1 -#define HAVE_SCHED_H 1 -/* #undef HAVE_SCHED_SETSCHEDULER */ -#define HAVE_SETLOCALE 1 -#define HAVE_SETPRIORITY 1 -#define HAVE_SETUID 1 -#define HAVE_SIGNAL_H 1 -/* #undef HAVE_SNDIO_H */ -#define HAVE_STDINT_H 1 -#define HAVE_STDIO_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRDUP 1 -#define HAVE_STRERROR 1 -#define HAVE_STRINGS_H 1 -#define HAVE_STRING_H 1 -/* #undef HAVE_SUN_AUDIOIO_H */ -/* #undef HAVE_SYS_AUDIOIO_H */ -/* #undef HAVE_SYS_AUDIO_H */ -#define HAVE_SYS_IOCTL_H 1 -#define HAVE_SYS_PARAM_H 1 -#define HAVE_SYS_RESOURCE_H 1 -#define HAVE_SYS_SIGNAL_H 1 -#define HAVE_SYS_SOCKET_H 1 -/* #undef HAVE_SYS_SOUNDCARD_H */ -#define HAVE_SYS_STAT_H 1 -#define HAVE_SYS_TIME_H 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_SYS_WAIT_H 1 -#define HAVE_TERMIOS 1 -#define HAVE_UNISTD_H 1 -/* #undef HAVE_WINDOWS_H */ -/* #undef HAVE_WS2TCPIP_H */ -#define INDEX_SIZE 1000 -#define IPV6 1 -#define LT_OBJDIR ".libs/" -#define MODULE_FILE_SUFFIX ".la" -#define NETWORK 1 -/* #undef NO_16BIT */ -/* #undef NO_32BIT */ -/* #undef NO_8BIT */ -/* #undef NO_DOWNSAMPLE */ -/* #undef NO_ERETURN */ -/* #undef NO_ERRORMSG */ -/* #undef NO_FEEDER */ -/* #undef NO_ICY */ -/* #undef NO_ID3V2 */ -/* #undef NO_LAYER1 */ -/* #undef NO_LAYER2 */ -/* #undef NO_LAYER3 */ -/* #undef NO_NTOM */ -/* #undef NO_REAL */ -/* #undef NO_STRING */ -/* #undef NO_WARNING */ -#define PACKAGE "mpg123" -#define PACKAGE_BUGREPORT "mpg123-devel@lists.sourceforge.net" -#define PACKAGE_NAME "mpg123" -#define PACKAGE_STRING "mpg123 1.14.0" -#define PACKAGE_TARNAME "mpg123" -#define PACKAGE_URL "" -#define PACKAGE_VERSION "1.14.0" -/* #undef PORTAUDIO18 */ -#define STDC_HEADERS 1 -/* #undef USE_MODULES */ -#define VERSION "1.14.0" -/* #undef WANT_WIN32_FIFO */ -/* #undef WANT_WIN32_SOCKETS */ -/* #undef WANT_WIN32_UNICODE */ -/* #undef WINVER */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -/* # undef WORDS_BIGENDIAN */ -# endif -#endif -/* #undef _FILE_OFFSET_BITS */ -/* #undef _LARGE_FILES */ -/* #undef _WIN32_WINNT */ -/* #undef const */ -#ifndef __cplusplus -/* #undef inline */ -#endif -/* #undef int16_t */ -/* #undef int32_t */ -/* #undef off_t */ -/* #undef size_t */ -/* #undef ssize_t */ -/* #undef uint16_t */ -/* #undef uint32_t */ -/* #undef uintptr_t */ - -#define REAL_IS_FLOAT - -#define HAVE_DIRENT_H /* OpenMPT */ - diff --git a/include/mpg123/ports/makefile/config.h b/include/mpg123/ports/makefile/config.h deleted file mode 100644 index bedb2858132..00000000000 --- a/include/mpg123/ports/makefile/config.h +++ /dev/null @@ -1,75 +0,0 @@ - -/* C99 headers */ - -#define HAVE_INTTYPES_H 1 -#define HAVE_LIMITS_H 1 -#define HAVE_LOCALE_H 1 -#define HAVE_SIGNAL_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_STDIO_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRING_H 1 - -/* POSIX headers */ - -#define HAVE_STRINGS_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_SYS_TIME_H 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_UNISTD_H 1 - -/* C99 functions */ - -#define HAVE_ATOLL 1 -#define HAVE_STRERROR 1 - -/* yeah, POSIX ... */ - -#if defined(__DJGPP__) -#define SIZEOF_OFF_T 4 -#else -#define SIZEOF_OFF_T 8 -#endif - -/* Windows/DOS */ - -/* Features */ - -/* #define LFS_LARGEFILE_64 1 */ - -/* libmpg123 does not care about signals */ -#define NO_CATCHSIGNAL - -/* libmpg123 does not care about directories */ -#define NO_DIR - -/* libmpg123 does not care about environment variables */ -#define NO_ENV - -/* libmpg123 does not care about file mode */ -#define NO_FILEMODE - -/* We want some frame index, eh? */ -#define FRAME_INDEX 1 -#define INDEX_SIZE 1000 - -/* also gapless playback! */ -#define GAPLESS 1 - -/* Debugging */ - -/* #define DEBUG */ -/* #define EXTRA_DEBUG */ - -/* Precision */ - -/* use floating point */ -#define REAL_IS_FLOAT 1 - -/* floating point is IEEE754 */ -/* #define IEEE_FLOAT 1 */ - -/* use rounding instead of trunction */ -#define ACCURATE_ROUNDING 1 - -/* Platform */