[Lldb-commits] [lldb] r105714 - in /lldb/trunk/include/lldb: Core/Log.h Core/Mangled.h Core/RegularExpression.h Core/Section.h Core/UUID.h Target/ThreadPlan.h

Joseph Ranieri joe at alacatialabs.com
Wed Jun 9 09:40:14 PDT 2010


> Modified: lldb/trunk/include/lldb/Core/UUID.h
> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/UUID.h?rev=105714&r1=105713&r2=105714&view=diff
> ==============================================================================
> --- lldb/trunk/include/lldb/Core/UUID.h (original)
> +++ lldb/trunk/include/lldb/Core/UUID.h Wed Jun  9 03:57:38 2010
> @@ -17,6 +17,8 @@
>
>  #include "lldb/lldb-private.h"
>
> +struct uuid_t;
> +
>  namespace lldb_private {
>
>  class UUID

This change seems to have broken the Mac OS X build by redefining
uuid_t as a struct, where it was previously defined in unistd.h as:

#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
#ifndef _UUID_T
#define _UUID_T
typedef __darwin_uuid_t         uuid_t;
#endif /* _UUID_T */
#endif /* (_POSIX_C_SOURCE && !_DARWIN_C_SOURCE) */

This is a bit ugly, but perhaps it could be wrapped in #ifndef _UUID_T?

-- Joe Ranieri



More information about the lldb-commits mailing list