File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed
Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 5555#endif
5656
5757#ifdef __clang__
58- #if __clang_major__ >= 12
58+ #if (!defined(__apple_build_version__ ) && __clang_major__ >= 12 ) || \
59+ (defined(__apple_build_version__ ) && __clang_major__ >= 13 )
5960 #define ATTRIBUTE_NO_SANITIZE_INTEGER \
6061 ATTRIBUTE_NO_SANITIZE("unsigned-integer-overflow") \
6162 ATTRIBUTE_NO_SANITIZE("unsigned-shift-base")
Original file line number Diff line number Diff line change 1+ #include "libxml.h"
2+
13#include <stdlib.h>
24#include <string.h>
35#include <libxml/parser.h>
68
79/**** dictionary tests ****/
810
9- #ifdef __clang__
10- #if __clang_major__ >= 12
11- #define ATTRIBUTE_NO_SANITIZE_INTEGER \
12- __attribute__ ((no_sanitize("unsigned-integer-overflow"))) \
13- __attribute__ ((no_sanitize("unsigned-shift-base")))
14- #else
15- #define ATTRIBUTE_NO_SANITIZE_INTEGER \
16- __attribute__ ((no_sanitize("unsigned-integer-overflow")))
17- #endif
18- #else
19- #define ATTRIBUTE_NO_SANITIZE_INTEGER
20- #endif
21-
2211/* #define WITH_PRINT */
2312
2413static const char * seeds1 [] = {
You can’t perform that action at this time.
0 commit comments