projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Python babeltrace: use long form attribute names
[babeltrace.git]
/
compat
/
compat_mman.c
diff --git
a/compat/compat_mman.c
b/compat/compat_mman.c
index 1c95d8eff66d59d1a2f3b6758e8f4c0994bcdbf5..bbca82cadbed9e39ba6bce70e3fa63805284fab2 100644
(file)
--- a/
compat/compat_mman.c
+++ b/
compat/compat_mman.c
@@
-29,6
+29,15
@@
#define BT_LOG_TAG "COMPAT-MMAN"
#include "logging.h"
#define BT_LOG_TAG "COMPAT-MMAN"
#include "logging.h"
+#ifdef __APPLE__
+/*
+ * On macOS, we need a dummy symbol so that the linker won't
+ * complain of an empty table of contents.
+ */
+BT_HIDDEN
+int bt_mman_dummy_symbol;
+#endif /* __APPLE__ */
+
#ifdef __MINGW32__
#include <errno.h>
#ifdef __MINGW32__
#include <errno.h>
This page took
0.023872 seconds
and
4
git commands to generate.