mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 04:19:00 +00:00
fix compilation when ctype.h is included
This commit is contained in:
parent
2071abd295
commit
f7816c577f
1 changed files with 9 additions and 9 deletions
|
@ -47,15 +47,15 @@ WriteSaveBuf(uint8 *&buf, const T &value)
|
|||
|
||||
#ifdef VALIDATE_SAVE_SIZE
|
||||
#define CheckSaveHeader(buf, a, b, c, d, size) do { \
|
||||
char _C; uint32 _size;\
|
||||
ReadSaveBuf(&_C, buf);\
|
||||
assert(_C == a);\
|
||||
ReadSaveBuf(&_C, buf);\
|
||||
assert(_C == b);\
|
||||
ReadSaveBuf(&_C, buf);\
|
||||
assert(_C == c);\
|
||||
ReadSaveBuf(&_C, buf);\
|
||||
assert(_C == d);\
|
||||
char _c; uint32 _size;\
|
||||
ReadSaveBuf(&_c, buf);\
|
||||
assert(_c == a);\
|
||||
ReadSaveBuf(&_c, buf);\
|
||||
assert(_c == b);\
|
||||
ReadSaveBuf(&_c, buf);\
|
||||
assert(_c == c);\
|
||||
ReadSaveBuf(&_c, buf);\
|
||||
assert(_c == d);\
|
||||
ReadSaveBuf(&_size, buf);\
|
||||
assert(_size == size);\
|
||||
} while(0)
|
||||
|
|
Loading…
Reference in a new issue