We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66e4f5c + bfab6d0 commit 9ab39d8Copy full SHA for 9ab39d8
1 file changed
public/client/tracy_concurrentqueue.h
@@ -171,8 +171,8 @@ struct ConcurrentQueueDefaultTraits
171
#if defined(malloc) || defined(free)
172
// Gah, this is 2015, stop defining macros that break standard code already!
173
// Work around malloc/free being special macros:
174
- static inline void* WORKAROUND_malloc(size_t size) { return malloc(size); }
175
- static inline void WORKAROUND_free(void* ptr) { return free(ptr); }
+ static inline void* WORKAROUND_malloc(size_t size) { return tracy::tracy_malloc(size); }
+ static inline void WORKAROUND_free(void* ptr) { return tracy::tracy_free(ptr); }
176
static inline void* (malloc)(size_t size) { return WORKAROUND_malloc(size); }
177
static inline void (free)(void* ptr) { return WORKAROUND_free(ptr); }
178
#else
0 commit comments