Fix build on Linux
- add a workaround header to define uuid_t on platforms that need it - unbreak remote debugging of mac os x apps llvm-svn: 179710
This commit is contained in:
parent
111c4a6b69
commit
ffeb4b605a
|
@ -38,6 +38,10 @@
|
|||
#define DEBUG_PRINTF(fmt, ...)
|
||||
#endif
|
||||
|
||||
#ifndef __APPLE__
|
||||
#include "Utility/UuidCompatibility.h"
|
||||
#endif
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
|
|
|
@ -43,6 +43,10 @@
|
|||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
#ifndef __APPLE__
|
||||
#include "Utility/UuidCompatibility.h"
|
||||
#endif
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
using namespace llvm::MachO;
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue