File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ patchfiles configure-CFLAGS.patch \
3838 configure-dynlib.patch \
3939 configure-flat_namespace.patch \
4040 configure-SO_LINK.patch \
41- Makefile-verbose.patch
41+ Makefile-verbose.patch \
42+ encoder-bool-c23.patch
4243
4344use_autoreconf yes
4445
Original file line number Diff line number Diff line change 1+ Guard typedef for bool against C23, where bool is a built-in keyword.
2+ --- ../../src/encoder.h.orig 2014-04-29 07:05:36.000000000 -0700
3+ +++ ../../src/encoder.h 2014-04-29 07:05:36.000000000 -0700
4+ @@ -42,7 +42,9 @@
5+ * Types
6+ ****************************************************************************/
7+
8+ + #if !defined(__cplusplus) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 202311L)
9+ typedef int bool;
10+ + #endif
11+
12+ /*****************************************************************************
13+ * Structures
You can’t perform that action at this time.
0 commit comments