- removed a bit more useless cruft from compat.h.

This commit is contained in:
Christoph Oelckers 2020-09-11 19:45:17 +02:00
parent b2105f28e1
commit c4d7e68b4a
1 changed files with 0 additions and 25 deletions

View File

@ -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 <inttypes.h>
#include <stdint.h>
@ -130,7 +106,6 @@
typedef intptr_t ssize_t;
typedef size_t bsize_t;
typedef ssize_t bssize_t;
#define BMAX_PATH 256