aboutsummaryrefslogtreecommitdiff
path: root/devel/cppcommon/files/patch-include_common_flags.h
blob: cdcd111817f3c284331163d22a077303b93f1f90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- include/common/flags.h.orig	2026-02-27 14:10:30 UTC
+++ include/common/flags.h
@@ -12,6 +12,11 @@
 #include <bitset>
 #include <type_traits>
 
+// <sys/param.h> defines a conflicting isset() and that produces an error in Scilab
+#ifdef isset
+#undef isset
+#endif
+
 namespace CppCommon {
 
 //! Enum-based flags false checker