projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: common: handle missing status in bt_common_func_status_string
[babeltrace.git]
/
src
/
common
/
macros.h
diff --git
a/src/common/macros.h
b/src/common/macros.h
index 5549b8576fe251bd196a79b361bc054019d76239..34ac393f76bda366a8ad142ff4d568ba3465bb25 100644
(file)
--- a/
src/common/macros.h
+++ b/
src/common/macros.h
@@
-11,6
+11,12
@@
extern "C" {
#endif
+#ifdef __cplusplus
+#define BT_EXTERN_C extern "C"
+#else
+#define BT_EXTERN_C
+#endif
+
#define bt_max_t(type, a, b) \
((type) (a) > (type) (b) ? (type) (a) : (type) (b))
This page took
0.023076 seconds
and
4
git commands to generate.