From b40119891c2f73c4726ab64ac2a2f327cf781ee2 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Thu, 9 Dec 2021 19:45:20 +0300 Subject: Update libtox to 0.2.13 --- protocols/Tox/libtox/src/toxcore/ccompat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols/Tox/libtox/src/toxcore/ccompat.h') 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__ -- cgit v1.2.3