parser: fix compilation for macOS
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
80eecac31a
commit
41d764eeef
@ -52,6 +52,14 @@ ENUM_FLAG_OPERATOR(T,^) \
|
|||||||
ENUM_FLAG_OPERATOR(T,&) \
|
ENUM_FLAG_OPERATOR(T,&) \
|
||||||
enum class T : type
|
enum class T : type
|
||||||
|
|
||||||
|
#ifndef s6_words
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#define s6_words __u6_addr.__u6_addr16
|
||||||
|
#else
|
||||||
|
#error Unsupported platform
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace stdex
|
namespace stdex
|
||||||
{
|
{
|
||||||
namespace parser
|
namespace parser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user