mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 03:54:19 +01:00
gcc: support address sanitizer
This commit is contained in:
1 parent
8c03d50421
commit
c60fefa1a6
5 files changed
+18
-7
No files matched your search
@@ -107,7 +107,7 @@ void vmfree(void* ptr, size_t size)
|
||||
|
||||
// declare linux equivalents (alignment must be power of 2 (1,2,4...2^15)
|
||||
|
||||
#if !defined(__USE_ISOC11)
|
||||
#if !defined(__USE_ISOC11) || defined(ASAN_WORKAROUND)
|
||||
|
||||
void* _aligned_malloc(size_t size, size_t alignment)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user