mudgangster

Tiny, scriptable MUD client
Log | Files | Refs | README

TracyCallstack.h (680B)


      1 #ifndef __TRACYCALLSTACK_H__
      2 #define __TRACYCALLSTACK_H__
      3 
      4 #if !defined _WIN32 && !defined __CYGWIN__
      5 #  include <sys/param.h>
      6 #endif
      7 
      8 #if defined _WIN32 || defined __CYGWIN__
      9 #  define TRACY_HAS_CALLSTACK 1
     10 #elif defined __ANDROID__
     11 #  if !defined __arm__ || __ANDROID_API__ >= 21
     12 #    define TRACY_HAS_CALLSTACK 2
     13 #  else
     14 #    define TRACY_HAS_CALLSTACK 5
     15 #  endif
     16 #elif defined __linux
     17 // XXX: diesel changes
     18 // #  if defined _GNU_SOURCE && defined __GLIBC__
     19 // #    define TRACY_HAS_CALLSTACK 3
     20 // #  else
     21 // #    define TRACY_HAS_CALLSTACK 2
     22 // #  endif
     23 #elif defined __APPLE__
     24 #  define TRACY_HAS_CALLSTACK 4
     25 #elif defined BSD
     26 #  define TRACY_HAS_CALLSTACK 6
     27 #endif
     28 
     29 #endif