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