summaryrefslogtreecommitdiff
path: root/protocols/Tox/libtox/src/toxcore/ccompat.c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-15 12:18:35 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-15 12:18:35 +0300
commit31e72718ee54867accf0b739a24adc86f8b7ab54 (patch)
treef964c10c5d97d9fe4fd2bd8187c250faedcb0fd7 /protocols/Tox/libtox/src/toxcore/ccompat.c
parent282e9c18d9d3b726cce3d2ef0babc88029661cb8 (diff)
libtox update
Diffstat (limited to 'protocols/Tox/libtox/src/toxcore/ccompat.c')
-rw-r--r--protocols/Tox/libtox/src/toxcore/ccompat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/libtox/src/toxcore/ccompat.c b/protocols/Tox/libtox/src/toxcore/ccompat.c
index 30e689d06d..6e4689736a 100644
--- a/protocols/Tox/libtox/src/toxcore/ccompat.c
+++ b/protocols/Tox/libtox/src/toxcore/ccompat.c
@@ -2,3 +2,5 @@
* Copyright © 2022 The TokTok team.
*/
#include "ccompat.h"
+
+static_assert(sizeof(int) >= 4, "toxcore does not support 16-bit platforms");