include fix
This commit is contained in:
parent
ec9bb1417e
commit
1d5a2c83b5
1 changed files with 1 additions and 2 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <endian.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
@ -24,8 +25,6 @@ extern "C" {
|
||||||
#define CAPN_INLINE static
|
#define CAPN_INLINE static
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define IS_BIG_ENDIAN (*(uint16_t *)"\0\xff" < 0x100)
|
|
||||||
|
|
||||||
#define CAPN_VERSION 1
|
#define CAPN_VERSION 1
|
||||||
|
|
||||||
/* struct capn is a common structure shared between segments in the same
|
/* struct capn is a common structure shared between segments in the same
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue