From c4d7e68b4a398c10889b2cbd40250bcccecb256d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 11 Sep 2020 19:45:17 +0200 Subject: [PATCH] - removed a bit more useless cruft from compat.h. --- source/build/include/compat.h | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/source/build/include/compat.h b/source/build/include/compat.h index 6ef0ba94e..9e9dfded8 100644 --- a/source/build/include/compat.h +++ b/source/build/include/compat.h @@ -31,14 +31,6 @@ # define UNREFERENCED_PARAMETER(x) (x) = (x) #endif -#ifndef UNREFERENCED_CONST_PARAMETER -# ifdef _MSC_VER -# define UNREFERENCED_CONST_PARAMETER(x) ((void)(x)) -# else -# define UNREFERENCED_CONST_PARAMETER(x) -# endif -#endif - #if defined __GNUC__ || defined __clang__ # define ATTRIBUTE(attrlist) __attribute__(attrlist) #else @@ -76,22 +68,6 @@ # define B_BIG_ENDIAN 0 #endif - -////////// Standard library headers ////////// - -#undef __USE_MINGW_ANSI_STDIO // Workaround for MinGW-w64. - -#ifndef __STDC_FORMAT_MACROS -# define __STDC_FORMAT_MACROS -#endif -#ifndef __STDC_LIMIT_MACROS -# define __STDC_LIMIT_MACROS -#endif - -#ifndef _USE_MATH_DEFINES -# define _USE_MATH_DEFINES -#endif - #include #include @@ -130,7 +106,6 @@ typedef intptr_t ssize_t; -typedef size_t bsize_t; typedef ssize_t bssize_t; #define BMAX_PATH 256