Fix type range comparison always false for 64-bit arch
[lttng-ust.git] / liblttng-ust / ltt-ring-buffer-metadata-client.h
index 3fa785a2265e7c2381931ba0e938c2f9f402c4ba..dcbaacb61c1c1d583473ed367d4396e5de72bea9 100644 (file)
@@ -8,7 +8,6 @@
  * Dual LGPL v2.1/GPL v2 license.
  */
 
-#define _GNU_SOURCE
 #include <stdint.h>
 #include <lttng/ust-events.h>
 #include "lttng/bitfield.h"
@@ -17,7 +16,7 @@
 
 struct metadata_packet_header {
        uint32_t magic;                 /* 0x75D11D57 */
-       uint8_t  uuid[16];              /* Unique Universal Identifier */
+       uint8_t  uuid[LTTNG_UST_UUID_LEN]; /* Unique Universal Identifier */
        uint32_t checksum;              /* 0 if unused */
        uint32_t content_size;          /* in bits */
        uint32_t packet_size;           /* in bits */
This page took 0.024093 seconds and 4 git commands to generate.