remove unnecessary code

master
an 2019-11-25 17:18:13 -05:00
parent b4c25eb4d9
commit d77b584f45
1 changed files with 1 additions and 20 deletions

View File

@ -67,16 +67,6 @@
/*==========================================================================*/
#define Q_MAXCHAR ((char)0x7f)
#define Q_MAXINT ((int)0x7fffffff)
#define Q_MAXLONG ((int)0x7fffffff)
#define Q_MAXFLOAT ((int)0x7fffffff)
#define Q_MINCHAR ((char)0x80)
#define Q_MININT ((int)0x80000000)
#define Q_MINLONG ((int)0x80000000)
#define Q_MINFLOAT ((int)0x7fffffff)
/* Make sure the types really have the right
* sizes: These macros are from SDL headers.
*/
@ -91,18 +81,9 @@ typedef enum {
} THE_DUMMY_ENUM;
_Static_assert(sizeof(THE_DUMMY_ENUM) == sizeof(int), "enum not sizeof(int)");
/* Provide a substitute for offsetof() if we don't have one.
* This variant works on most (but not *all*) systems...
*/
#ifndef offsetof
#define offsetof(t,m) ((size_t)&(((t *)0)->m))
#endif
/*==========================================================================*/
typedef unsigned char byte;
typedef unsigned char byte;
typedef enum {
false = 0,