File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 21
21
#include " backtrace.h"
22
22
23
23
/* *
24
- * 目前只有glibc支持execinfo.h,其它库如uclibc是没有支持。为避免编译出错,在此区别处理
25
- * 如果外面没有指定HAVE_EXECINFO_H,则根据是否采用glibc库自动处理
24
+ * 目前只有glibc支持execinfo.h,其它库如uclibc是没有支持。
25
+ * 为避免编译出错,可以在外部将 HAVE_EXECINFO_H 指定为0
26
26
*/
27
27
#ifndef HAVE_EXECINFO_H
28
- # ifdef __GLIBC__
29
- # define HAVE_EXECINFO_H 1
30
- # else
31
- # define HAVE_EXECINFO_H 0
32
- # endif // __GLIBC__
28
+ # define HAVE_EXECINFO_H 1 // ! 如果是uclibc,请改成0
33
29
#endif // HAVE_EXECINFO_H
34
30
35
31
#if HAVE_EXECINFO_H
Original file line number Diff line number Diff line change 18
18
* of the source tree.
19
19
*/
20
20
#include < signal.h>
21
- #include < execinfo.h>
22
21
23
22
#include < cstring>
24
23
#include < iostream>
Original file line number Diff line number Diff line change 21
21
# TBOX版本号
22
22
TBOX_VERSION_MAJOR := 1
23
23
TBOX_VERSION_MINOR := 10
24
- TBOX_VERSION_REVISION := 24
24
+ TBOX_VERSION_REVISION := 25
You can’t perform that action at this time.
0 commit comments