mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +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>
|
||||||
# pragma warning( push )
|
# ifdef _MSC_VER
|
||||||
# pragma warning( disable : 4091 )
|
# pragma warning( push )
|
||||||
|
# pragma warning( disable : 4091 )
|
||||||
|
# endif
|
||||||
# include <dbghelp.h>
|
# include <dbghelp.h>
|
||||||
# pragma warning( pop )
|
# ifdef _MSC_VER
|
||||||
|
# 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