mirror of
https://github.com/mangosfour/server.git
synced 2026-01-01 07:37:07 +00:00
[Sync] Project Sync plus Revision changes
The main revision system changes are based on FoeReapers work in:
b37de3b83e
This commit is contained in:
parent
f5e2d53ccc
commit
bf4b6fafc5
39 changed files with 684 additions and 416 deletions
|
|
@ -169,6 +169,7 @@ typedef uint32 DWORD;
|
|||
#define CONCAT1(x, y) x##y
|
||||
#define STATIC_ASSERT_WORKAROUND(expr, msg) typedef char CONCAT(static_assert_failed_at_line_, __LINE__) [(expr) ? 1 : -1]
|
||||
|
||||
#ifndef COMPILER_HAS_CPP11_SUPPORT
|
||||
#if COMPILER == COMPILER_GNU
|
||||
# if !defined(__GXX_EXPERIMENTAL_CXX0X__) || (__GNUC__ < 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ < 7)
|
||||
# define override
|
||||
|
|
@ -184,6 +185,7 @@ typedef uint32 DWORD;
|
|||
# define static_assert(a, b) STATIC_ASSERT_WORKAROUND(a, b)
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue