I added it to the readme file, but didn't publish it yet on the mailing list 
(other things are getting in the way of time).  On Ubuntu the package is 
uuid-dev.

Additionally, we have a pending patch from Ossama that will give this info on 
build.

-----Original Message-----
From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Thiago Macieira
Sent: Monday, May 18, 2015 1:27 PM
To: iotivity-dev at lists.iotivity.org
Subject: Re: [dev] Fwd: Build check request for every commit for Android and 
Tizen platform.

On Monday 18 May 2015 17:56:36 Keane, Erich wrote:
> Apparently, android defines __linux__ despite not being a fully
> compatible linux implementation.  This is fixed in patch-set
> https://gerrit.iotivity.org/gerrit/#/c/1020/

It comes from GCC because GCC doesn't care what the C library is. It's a Linux 
kernel and that's all that matters. You can do the normal syscalls and you're 
going to get standard Linux behaviour.

If you're looking for the userspace checks, check for __GLIBC__. uClibc also 
defines this, so you're good. Other small libc for Linux (newt, MUSL, etc.) may 
not, so I don't know exactly what you'll need there.

In any case, I don't have a <uuid/uuid.h> header in my system by default. I 
have to install libuuid-devel to get it. If we're introducing a new 
dependency, please document it and announce on the mailing list.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
iotivity-dev mailing list
iotivity-dev at lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to