diff options
author | Haru <haru@dotalux.com> | 2015-12-02 11:54:36 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-02 11:55:16 +0100 |
commit | 300668dce8699accfb3e8cbce6db55b937230bb7 (patch) | |
tree | 5e9f28572c21e4dfe0afc8b43640109ac4db6337 /src/common/cbasetypes.h | |
parent | 9be1d84752ba2ed733ae29d68304f5825cf29162 (diff) | |
download | hercules-300668dce8699accfb3e8cbce6db55b937230bb7.tar.gz hercules-300668dce8699accfb3e8cbce6db55b937230bb7.tar.bz2 hercules-300668dce8699accfb3e8cbce6db55b937230bb7.tar.xz hercules-300668dce8699accfb3e8cbce6db55b937230bb7.zip |
Fixed compile errors on very old PACKETVERs
- Fixes #903 and other similar problems
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/cbasetypes.h')
-rw-r--r-- | src/common/cbasetypes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h index 64f21f7e0..5fc08b770 100644 --- a/src/common/cbasetypes.h +++ b/src/common/cbasetypes.h @@ -428,4 +428,7 @@ typedef char bool; #define ZEROED_BLOCK_POS(x) (&(x)->HERC__zeroed_block_BEGIN) #define ZEROED_BLOCK_SIZE(x) ((char*)&((x)->HERC__zeroed_block_END) - (char*)&((x)->HERC__zeroed_block_BEGIN) + sizeof((x)->HERC__zeroed_block_END)) +/** Support macros for marking structs as unavailable */ +#define UNAVAILABLE_STRUCT int8 HERC__unavailable_struct + #endif /* COMMON_CBASETYPES_H */ |