aboutsummaryrefslogtreecommitdiff
path: root/serializer.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavier.delcampo@orain.io>2020-05-20 14:35:59 +0200
committerXavier Del Campo Romero <xavier.delcampo@orain.io>2020-05-20 14:35:59 +0200
commit9e183ec0a6951723a80e8719525ccdbaecd62e17 (patch)
tree28cfe34fc80c14e66f89df8bbcec8e4ae55c594e /serializer.h
parent71a3db14a5383b73eb719b1d3f479d32fc81ad3a (diff)
64-bit support, C11 as requirement and other improvementsHEADmaster
- C11 support is required (although only on serializer.c, so the check has been moved there) since _Alignof is needed. - Added support for little/big endian 64-bit integers. - swap16, swap32 and swap64 now cast pointers to (uint8_t *) and (const uint8_t *) from the argument list so the explicit casts are no longer needed.
Diffstat (limited to 'serializer.h')
-rw-r--r--serializer.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/serializer.h b/serializer.h
index 091e0e8..2e16a7d 100644
--- a/serializer.h
+++ b/serializer.h
@@ -19,10 +19,6 @@
#include <stddef.h>
-#if __STDC_VERSION__ < 199901L
-#error C99 support is mandatory for serializer
-#endif /* __STDC_VERSION < 199901L */
-
#ifdef __cplusplus
extern "C"
{