1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Fix compiling TracyClient.cpp on UWP with defined TRACY_ENABLE

This commit is contained in:
Balazs Kovacsics
2022-02-09 22:14:36 +01:00
parent 10b3d7ad82
commit 7169f5f30a
3 changed files with 38 additions and 11 deletions
+5 -1
View File
@@ -6,7 +6,11 @@
#endif
#if defined _WIN32
# define TRACY_HAS_CALLSTACK 1
# if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) && \
!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
# else
# define TRACY_HAS_CALLSTACK 1
# endif
#elif defined __ANDROID__
# if !defined __arm__ || __ANDROID_API__ >= 21
# define TRACY_HAS_CALLSTACK 2