mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
interim linux compile fixes for the in64 fixes (hah)
This commit is contained in:
parent
d8b91afa4b
commit
ac02c36aaf
3 changed files with 5 additions and 1 deletions
|
@ -29,6 +29,8 @@
|
||||||
#ifndef __hash_h
|
#ifndef __hash_h
|
||||||
#define __hash_h
|
#define __hash_h
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
/** \defgroup hash Hash tables
|
/** \defgroup hash Hash tables
|
||||||
\ingroup utils
|
\ingroup utils
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
//@{
|
//@{
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
extern struct cvar_s *sys_nostdout;
|
extern struct cvar_s *sys_nostdout;
|
||||||
|
|
|
@ -48,6 +48,7 @@ static __attribute__ ((used)) const char rcsid[] =
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "QF/sizebuf.h"
|
#include "QF/sizebuf.h"
|
||||||
|
|
||||||
|
@ -128,7 +129,7 @@ static byte msg_buffer[2][MAX_DATAGRAM];
|
||||||
rec.dbuffer.start - rec.dbuffer.end : \
|
rec.dbuffer.start - rec.dbuffer.end : \
|
||||||
rec.dbuffer.maxsize - rec.dbuffer.end)
|
rec.dbuffer.maxsize - rec.dbuffer.end)
|
||||||
|
|
||||||
#define HEADER ((size_t)(intptr_t) &((header_t *) 0)->data)
|
#define HEADER ((int) (intptr_t) &((header_t *) 0)->data)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
dbuffer_init (dbuffer_t *dbuffer, byte *buf, size_t size)
|
dbuffer_init (dbuffer_t *dbuffer, byte *buf, size_t size)
|
||||||
|
|
Loading…
Reference in a new issue