Skip to content
  • Ondřej Surý's avatar
    Fix compilation with NETMGR_TRACE(_VERBOSE) enabled on non-Linux · d016ea74
    Ondřej Surý authored and Ondřej Surý's avatar Ondřej Surý committed
    When NETMGR_TRACE(_VERBOSE) is enabled, the build would fail on some
    non-Linux non-glibc platforms because:
    
      * Use <stdint.h> print macros because uint_fast32_t is not always
        unsigned long
    
      * The header <execinfo.h> is not available on non-glibc, thus commit
        adds dummy backtrace() and backtrace_symbols_fd() functions for
        platforms without HAVE_BACKTRACE
    d016ea74