From 0883ee7ce77df4649f8a4fc10bd22164649e2883 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sun, 16 Jul 2023 10:39:26 +0200 Subject: Added flatcc (C flatbuffers implementation). * lightweight && faster than protocol buffers as well as it's C implementation (protobuf-c) Signed-off-by: Toni Uhlig --- flatcc/include/flatcc/portable/paligned_alloc.h | 2 +- flatcc/update.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 flatcc/update.sh (limited to 'flatcc') diff --git a/flatcc/include/flatcc/portable/paligned_alloc.h b/flatcc/include/flatcc/portable/paligned_alloc.h index 70b00b9..8825de1 100644 --- a/flatcc/include/flatcc/portable/paligned_alloc.h +++ b/flatcc/include/flatcc/portable/paligned_alloc.h @@ -112,7 +112,7 @@ extern "C" { #ifdef PORTABLE_DEBUG_ALIGNED_ALLOC #error "DEBUG: C11_ALIGNED_ALLOC configured" #endif -#elif defined(_MSC_VER) || defined(__MINGW32__) +#elif 0 #ifdef PORTABLE_DEBUG_ALIGNED_ALLOC #error "DEBUG: Windows _aligned_malloc configured" diff --git a/flatcc/update.sh b/flatcc/update.sh new file mode 100755 index 0000000..fb66a0b --- /dev/null +++ b/flatcc/update.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +set -e +set -x + +git subtree pull --squash --prefix=flatcc https://github.com/dvidelabs/flatcc.git master -- cgit v1.2.3