Badminton-Scoreboard/Libraries/libil2cpp/include/il2cpp-sanitizers.h

14 lines
311 B
C
Raw Normal View History

2023-10-08 02:24:48 +00:00
#pragma once
// Use this attribute to disable the thread sanitizer checks for a specific method.
#if defined(__has_feature)
#if __has_feature(thread_sanitizer)
#define IL2CPP_DISABLE_TSAN __attribute__((no_sanitize("thread")))
#else
#define IL2CPP_DISABLE_TSAN
#endif
#else
#define IL2CPP_DISABLE_TSAN
#endif