fix: define UTF_CPP_CPLUSPLUS for #include utf8.h (#2625)
Fixes #2256. This ensures that utfcpp's c++17 code is enabled.
This commit is contained in:
parent
0a27346efb
commit
f78727a4c1
|
@ -31,7 +31,9 @@
|
|||
#include <iconv.h>
|
||||
#endif
|
||||
|
||||
#define UTF_CPP_CPLUSPLUS 201703L
|
||||
#include <utf8.h>
|
||||
|
||||
#include <event2/buffer.h>
|
||||
#include <event2/event.h>
|
||||
|
||||
|
|
|
@ -11,8 +11,10 @@
|
|||
#include <deque>
|
||||
#include <string_view>
|
||||
|
||||
#define UTF_CPP_CPLUSPLUS 201703L
|
||||
#include <utf8.h>
|
||||
#include <event2/buffer.h> /* evbuffer_add() */
|
||||
|
||||
#include <event2/buffer.h>
|
||||
|
||||
#define LIBTRANSMISSION_VARIANT_MODULE
|
||||
|
||||
|
|
Loading…
Reference in New Issue