1
0
mirror of https://github.com/nothings/stb synced 2025-03-28 21:13:20 +00:00

Merge 4f494ffb10e6481a1ca3a3ba587d571ba19a8bec into f0569113c93ad095470c54bf34a17b36646bbbb5

This commit is contained in:
aholkner 2025-03-16 20:25:06 +01:00 committed by GitHub
commit b727d18d20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -158,6 +158,10 @@ PERFORMANCE vs MSVC 2008 32-/64-bit (GCC is even slower than MSVC):
#if defined(__SANITIZE_ADDRESS__) && __SANITIZE_ADDRESS__
#define STBSP__ASAN __attribute__((__no_sanitize_address__))
#endif
#elif defined(_MSC_VER)
#if defined(__SANITIZE_ADDRESS__) && __SANITIZE_ADDRESS__
#define STBSP__ASAN __declspec(no_sanitize_address)
#endif
#endif
#ifndef STBSP__ASAN