del myoffsetof macro
This commit is contained in:
parent
be007466f9
commit
9cb2ab691e
|
|
@ -42,9 +42,6 @@ typedef enum {false, true} qboolean;
|
|||
typedef unsigned char byte;
|
||||
#endif
|
||||
|
||||
// the dec offsetof macro doesnt work very well...
|
||||
#define myoffsetof(type,identifier) ((size_t)&((type *)0)->identifier)
|
||||
|
||||
|
||||
// set these before calling CheckParm
|
||||
extern int myargc;
|
||||
|
|
|
|||
|
|
@ -65,9 +65,6 @@ typedef unsigned char byte;
|
|||
#define SYS_ERR 3 // error
|
||||
*/
|
||||
|
||||
// the dec offsetof macro doesnt work very well...
|
||||
#define myoffsetof( type,identifier ) ( (size_t)& ( (type *)0 )->identifier )
|
||||
|
||||
#define SAFE_MALLOC
|
||||
#ifdef SAFE_MALLOC
|
||||
void *safe_malloc( size_t size );
|
||||
|
|
|
|||
|
|
@ -70,8 +70,6 @@
|
|||
#define SYS_WRN 2 // warnings
|
||||
#define SYS_ERR 3 // error
|
||||
*/
|
||||
// the dec offsetof macro doesnt work very well...
|
||||
#define myoffsetof( type,identifier ) ( (size_t)& ( (type *)0 )->identifier )
|
||||
|
||||
#define SAFE_MALLOC
|
||||
#ifdef SAFE_MALLOC
|
||||
|
|
|
|||
|
|
@ -60,9 +60,6 @@
|
|||
#endif
|
||||
#define MEM_BLOCKSIZE 4096
|
||||
|
||||
// the dec offsetof macro doesnt work very well...
|
||||
#define myoffsetof( type,identifier ) ( (size_t)& ( (type *)0 )->identifier )
|
||||
|
||||
#define SAFE_MALLOC
|
||||
#ifdef SAFE_MALLOC
|
||||
void *safe_malloc( size_t size );
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user