0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-16 01:43:49 +02:00

ircd::spirit: Fix multiple definitions from phoenix::placeholders (GCC).

This commit is contained in:
Jason Volk 2023-03-05 16:49:55 -08:00
parent a4c3a6be82
commit bc381359c7

View file

@ -28,6 +28,12 @@
#define BOOST_PHOENIX_DEBUG_HPP
#endif
// Multiple definitions from phoenix tuple impl with gcc+ld.gold; doesn't seem
// to be a necessary header for our uses, so we guard it out.
#if !defined(__clang__)
#define BOOST_PHOENIX_STL_TUPLE_H_
#endif
// These must be included prior to the internal visibility/linkage sections.
#include <boost/config.hpp>
#include <boost/type_index.hpp>