mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- removed a bit more useless cruft from compat.h.
This commit is contained in:
parent
b2105f28e1
commit
c4d7e68b4a
1 changed files with 0 additions and 25 deletions
|
@ -31,14 +31,6 @@
|
||||||
# define UNREFERENCED_PARAMETER(x) (x) = (x)
|
# define UNREFERENCED_PARAMETER(x) (x) = (x)
|
||||||
#endif
|
#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__
|
#if defined __GNUC__ || defined __clang__
|
||||||
# define ATTRIBUTE(attrlist) __attribute__(attrlist)
|
# define ATTRIBUTE(attrlist) __attribute__(attrlist)
|
||||||
#else
|
#else
|
||||||
|
@ -76,22 +68,6 @@
|
||||||
# define B_BIG_ENDIAN 0
|
# define B_BIG_ENDIAN 0
|
||||||
#endif
|
#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 <inttypes.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
@ -130,7 +106,6 @@
|
||||||
|
|
||||||
typedef intptr_t ssize_t;
|
typedef intptr_t ssize_t;
|
||||||
|
|
||||||
typedef size_t bsize_t;
|
|
||||||
typedef ssize_t bssize_t;
|
typedef ssize_t bssize_t;
|
||||||
|
|
||||||
#define BMAX_PATH 256
|
#define BMAX_PATH 256
|
||||||
|
|
Loading…
Reference in a new issue