projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: rename include dir to babeltrace2
[babeltrace.git]
/
compat
/
compat_uuid.c
diff --git
a/compat/compat_uuid.c
b/compat/compat_uuid.c
index e495af1cbe2d01ec5849d971d91267d60c24fd6e..b367ec139dc9bc8496fef228d7f81edab39e5017 100644
(file)
--- a/
compat/compat_uuid.c
+++ b/
compat/compat_uuid.c
@@
-25,11
+25,20
@@
#define BT_LOG_TAG "COMPAT-UUID"
#include "logging.h"
#define BT_LOG_TAG "COMPAT-UUID"
#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_uuid_dummy_symbol;
+#endif /* __APPLE__ */
+
#ifdef __MINGW32__
#include <rpc.h>
#include <stdlib.h>
#ifdef __MINGW32__
#include <rpc.h>
#include <stdlib.h>
-#include <babeltrace/compat/uuid-internal.h>
+#include <babeltrace
2
/compat/uuid-internal.h>
/* MinGW does not provide byteswap - implement our own version. */
static
/* MinGW does not provide byteswap - implement our own version. */
static
This page took
0.030237 seconds
and
4
git commands to generate.