diff options
author | dartraiden <wowemuh@gmail.com> | 2021-12-09 19:45:20 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2021-12-09 19:45:20 +0300 |
commit | b40119891c2f73c4726ab64ac2a2f327cf781ee2 (patch) | |
tree | f06adb7527462996a95160921693b7361f2f5d87 /protocols/Tox/libtox/src/toxcore/ccompat.h | |
parent | f4f1858d08a927e48cf05169b53dd79f19f21794 (diff) |
Update libtox to 0.2.13
Diffstat (limited to 'protocols/Tox/libtox/src/toxcore/ccompat.h')
-rw-r--r-- | protocols/Tox/libtox/src/toxcore/ccompat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Tox/libtox/src/toxcore/ccompat.h b/protocols/Tox/libtox/src/toxcore/ccompat.h index 8ff6563d9e..34def21bf9 100644 --- a/protocols/Tox/libtox/src/toxcore/ccompat.h +++ b/protocols/Tox/libtox/src/toxcore/ccompat.h @@ -42,6 +42,9 @@ #if !defined(__cplusplus) || __cplusplus < 201103L #define nullptr NULL +#ifndef static_assert +#define static_assert(cond, msg) extern int unused_for_static_assert +#endif #endif #ifdef __GNUC__ |