mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Don't use MSVC pragmas on gcc/clang (cygwin).
This commit is contained in:
parent
5e4b5850af
commit
0a6c6606bf
@ -5,10 +5,14 @@
|
|||||||
|
|
||||||
#if TRACY_HAS_CALLSTACK == 1
|
#if TRACY_HAS_CALLSTACK == 1
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
|
# ifdef _MSC_VER
|
||||||
# pragma warning( push )
|
# pragma warning( push )
|
||||||
# pragma warning( disable : 4091 )
|
# pragma warning( disable : 4091 )
|
||||||
|
# endif
|
||||||
# include <dbghelp.h>
|
# include <dbghelp.h>
|
||||||
|
# ifdef _MSC_VER
|
||||||
# pragma warning( pop )
|
# pragma warning( pop )
|
||||||
|
# endif
|
||||||
#elif TRACY_HAS_CALLSTACK >= 2
|
#elif TRACY_HAS_CALLSTACK >= 2
|
||||||
# include <dlfcn.h>
|
# include <dlfcn.h>
|
||||||
# include <cxxabi.h>
|
# include <cxxabi.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user