mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-29 23:42:40 +02:00
Merge pull request #181 from redboltz/change_zone_align_default
Modified the default value of MSGPACK_ZONE_ALIGN from sizeof(int) to siz...
This commit is contained in:
commit
2bbf10a324
@ -29,7 +29,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MSGPACK_ZONE_ALIGN
|
#ifndef MSGPACK_ZONE_ALIGN
|
||||||
#define MSGPACK_ZONE_ALIGN sizeof(int)
|
#define MSGPACK_ZONE_ALIGN sizeof(void*)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
<% GENERATION_LIMIT = 15 %>
|
<% GENERATION_LIMIT = 15 %>
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MSGPACK_ZONE_ALIGN
|
#ifndef MSGPACK_ZONE_ALIGN
|
||||||
#define MSGPACK_ZONE_ALIGN sizeof(int)
|
#define MSGPACK_ZONE_ALIGN sizeof(void*)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MSGPACK_ZONE_ALIGN
|
#ifndef MSGPACK_ZONE_ALIGN
|
||||||
#define MSGPACK_ZONE_ALIGN sizeof(int)
|
#define MSGPACK_ZONE_ALIGN sizeof(void*)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace msgpack {
|
namespace msgpack {
|
||||||
|
@ -89,7 +89,7 @@ void msgpack_zone_clear(msgpack_zone* zone);
|
|||||||
|
|
||||||
|
|
||||||
#ifndef MSGPACK_ZONE_ALIGN
|
#ifndef MSGPACK_ZONE_ALIGN
|
||||||
#define MSGPACK_ZONE_ALIGN sizeof(int)
|
#define MSGPACK_ZONE_ALIGN sizeof(void*)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MSGPACK_DLLEXPORT
|
MSGPACK_DLLEXPORT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user