Skip to content

Commit d2496a4

Browse files
committed
test2
1 parent 9d494b4 commit d2496a4

File tree

1 file changed

+6
-2
lines changed
  • ext/dom/lexbor/lexbor/core

1 file changed

+6
-2
lines changed

ext/dom/lexbor/lexbor/core/sbst.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ extern "C" {
1515

1616
#include "lexbor/core/base.h"
1717

18-
#if defined(__has_attribute) && __has_attribute(nonstring) && defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 15
19-
# define LXB_NONSTRING __attribute__((nonstring))
18+
#ifdef(__has_attribute)
19+
# if __has_attribute(nonstring) && defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 15
20+
# define LXB_NONSTRING __attribute__((nonstring))
21+
# else
22+
# define LXB_NONSTRING
23+
# endif
2024
#else
2125
# define LXB_NONSTRING
2226
#endif

0 commit comments

Comments
 (0)