summaryrefslogtreecommitdiffstats
path: root/source/Utility/UuidCompatibility.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Utility/UuidCompatibility.h')
-rw-r--r--source/Utility/UuidCompatibility.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/Utility/UuidCompatibility.h b/source/Utility/UuidCompatibility.h
new file mode 100644
index 0000000..df26f77
--- /dev/null
+++ b/source/Utility/UuidCompatibility.h
@@ -0,0 +1,18 @@
+//===-- UuidCompatibility.h -------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+// Include this header if your system does not have a definition of uuid_t
+
+#ifndef utility_UUID_COMPATIBILITY_H
+#define utility_UUID_COMPATIBILITY_H
+
+// uuid_t is guaranteed to always be a 16-byte array
+typedef unsigned char uuid_t[16];
+
+#endif // utility_UUID_COMPATIBILITY_H
OpenPOWER on IntegriCloud