Debian Codegraph @

3rdparty/tracy/public/client/TracyCallstack.h

raw symbols SCIP
1 #ifndef __TRACYCALLSTACK_H__
2 #define __TRACYCALLSTACK_H__
3
4 #ifndef TRACY_NO_CALLSTACK
5
6 # if !defined _WIN32
7 # include <sys/param.h>
8 # endif
9
10 # if defined _WIN32
11 # include "../common/TracyUwp.hpp"
12 # ifndef TRACY_UWP
13 # define TRACY_HAS_CALLSTACK 1
14 # endif
15 # elif defined __ANDROID__
16 # if !defined __arm__ || __ANDROID_API__ >= 21
17 # define TRACY_HAS_CALLSTACK 2
18 # else
19 # define TRACY_HAS_CALLSTACK 5
20 # endif
21 # elif defined __linux
22 # if defined _GNU_SOURCE && defined __GLIBC__
23 # define TRACY_HAS_CALLSTACK 3
24 # else
25 # define TRACY_HAS_CALLSTACK 2
26 # endif
27 # elif defined __APPLE__
28 # define TRACY_HAS_CALLSTACK 4
29 # elif defined BSD
30 # define TRACY_HAS_CALLSTACK 6
31 # endif
32
33 #endif
34
35 #endif