aboutsummaryrefslogtreecommitdiff
path: root/flatcc
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-07-16 10:39:26 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-07-16 10:39:26 +0200
commit0883ee7ce77df4649f8a4fc10bd22164649e2883 (patch)
tree322e038874217119d4215c4c9308dafedfb06de8 /flatcc
parentb31e4bc16d1df62b50c6f77a77041f9e7b6c906d (diff)
Added flatcc (C flatbuffers implementation).
* lightweight && faster than protocol buffers as well as it's C implementation (protobuf-c) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'flatcc')
-rw-r--r--flatcc/include/flatcc/portable/paligned_alloc.h2
-rwxr-xr-xflatcc/update.sh6
2 files changed, 7 insertions, 1 deletions
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