mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 05:03:53 +00:00
Support callstack capture on BSD.
This commit is contained in:
parent
3c4a7463b8
commit
bd7b0a8197
@ -1,6 +1,10 @@
|
|||||||
#ifndef __TRACYCALLSTACK_H__
|
#ifndef __TRACYCALLSTACK_H__
|
||||||
#define __TRACYCALLSTACK_H__
|
#define __TRACYCALLSTACK_H__
|
||||||
|
|
||||||
|
#if !defined _WIN32 && !defined __CYGWIN__
|
||||||
|
# include <sys/param.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined _WIN32 || defined __CYGWIN__
|
#if defined _WIN32 || defined __CYGWIN__
|
||||||
# define TRACY_HAS_CALLSTACK 1
|
# define TRACY_HAS_CALLSTACK 1
|
||||||
#elif defined __ANDROID__
|
#elif defined __ANDROID__
|
||||||
@ -15,7 +19,7 @@
|
|||||||
# else
|
# else
|
||||||
# define TRACY_HAS_CALLSTACK 2
|
# define TRACY_HAS_CALLSTACK 2
|
||||||
# endif
|
# endif
|
||||||
#elif defined __APPLE__
|
#elif defined __APPLE__ || defined BSD
|
||||||
# define TRACY_HAS_CALLSTACK 4
|
# define TRACY_HAS_CALLSTACK 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user