--- swipl-9.2.4/packages/xpce/src/h/syntax.h.orig 2024-04-12 21:35:29.000000000 +0200 +++ swipl-9.2.4/packages/xpce/src/h/syntax.h 2024-05-09 22:07:40.667397555 +0200 @@ -62,6 +62,9 @@ #define QT makeCFlag(10) /* String quote (context: escape) */ #define PU makeCFlag(11) /* Punctuation */ #define EB makeCFlag(12) /* End Buffer/string */ +#if (defined __illumos__) && (defined CS) +#undef CS +#endif #define CS makeCFlag(13) /* Comment-start (context: 2nd char) */ #define CE makeCFlag(14) /* Comment-end (context: 2nd char) */ #define CT makeCFlag(15) /* Control character */