engine: support compiling with gcc3

This commit is contained in:
Alibek Omarov
2019-11-02 08:56:07 +03:00
parent 7a7bca2991
commit aa6674b032
14 changed files with 45 additions and 60 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ _inline int BitByte( int bits )
return PAD_NUMBER( bits, 8 ) >> 3;
}
typedef struct sizebuf_s
struct sizebuf_s
{
qboolean bOverflow; // overflow reading or writing
const char *pDebugName; // buffer name (pointer to const name)
@@ -43,7 +43,7 @@ typedef struct sizebuf_s
byte *pData;
int iCurBit;
int nDataBits;
} sizebuf_t;
};
#define MSG_StartReading MSG_StartWriting
#define MSG_GetNumBytesRead MSG_GetNumBytesWritten