From 5bef0e94c82a31ceb7cc0c46e29711df05cccf55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Gonz=C3=A1lez=20Santamarta?= Date: Sun, 3 Nov 2024 12:59:59 +0100 Subject: [PATCH] ifdef for cxxabi.h in state --- yasmin/include/yasmin/state.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yasmin/include/yasmin/state.hpp b/yasmin/include/yasmin/state.hpp index bf261c8..d7e4381 100644 --- a/yasmin/include/yasmin/state.hpp +++ b/yasmin/include/yasmin/state.hpp @@ -22,7 +22,9 @@ #include #include -#include +#ifdef __GNUG__ // if using GCC/G++ +#include // for abi::__cxa_demangle +#endif #include "yasmin/blackboard/blackboard.hpp" #include "yasmin/logs.hpp"