X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=compat%2Fcompat_uuid.c;h=a79a01e763b89977c8bb8f1f93ce5e489940bd86;hb=a310d6bdad7372b9d8b5d85519ea8a46fe911643;hp=94511d3147b626d42e000b11aa952d72fa8e8564;hpb=20eee76ef91ef70be2cf302a90f16899f01793cb;p=babeltrace.git diff --git a/compat/compat_uuid.c b/compat/compat_uuid.c index 94511d31..a79a01e7 100644 --- a/compat/compat_uuid.c +++ b/compat/compat_uuid.c @@ -22,6 +22,18 @@ * SOFTWARE. */ +#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