include fix

This commit is contained in:
Michael Gartsbein 2016-05-05 10:55:12 +03:00
parent ec9bb1417e
commit 1d5a2c83b5

View file

@ -13,6 +13,7 @@
#include <stdint.h>
#include <stdio.h>
#include <endian.h>
#ifdef __cplusplus
extern "C" {
@ -24,8 +25,6 @@ extern "C" {
#define CAPN_INLINE static
#endif
#define IS_BIG_ENDIAN (*(uint16_t *)"\0\xff" < 0x100)
#define CAPN_VERSION 1
/* struct capn is a common structure shared between segments in the same