X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=compat%2Fcompat_uuid.c;h=b367ec139dc9bc8496fef228d7f81edab39e5017;hb=3fadfbc0c91f82c46bd36e6e0657ea93570c9db1;hp=94511d3147b626d42e000b11aa952d72fa8e8564;hpb=20eee76ef91ef70be2cf302a90f16899f01793cb;p=babeltrace.git diff --git a/compat/compat_uuid.c b/compat/compat_uuid.c index 94511d31..b367ec13 100644 --- a/compat/compat_uuid.c +++ b/compat/compat_uuid.c @@ -22,11 +22,23 @@ * 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 #include -#include +#include /* MinGW does not provide byteswap - implement our own version. */ static