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
@@ -2,7 +2,11 @@
#define __TRACYSYSTRACE_HPP__
#if !defined TRACY_NO_SYSTEM_TRACING && ( defined _WIN32 || defined __linux__ )
# define TRACY_HAS_SYSTEM_TRACING
# if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) && \
!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
# else
# define TRACY_HAS_SYSTEM_TRACING
# endif
#endif
#ifdef TRACY_HAS_SYSTEM_TRACING