Skip to content

Commit 86260c7

Browse files
committed
define bool
1 parent 1203eb7 commit 86260c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

msgpack/pack.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424

2525
#ifdef __cplusplus
2626
extern "C" {
27+
#else
28+
#define bool char
2729
#endif
2830

2931
typedef struct msgpack_packer {

0 commit comments

Comments
 (0)