[Libguestfs] Patchable build problems on OS X 10.10

Margaret Lewicka margaret at meaningless.name
Mon Feb 9 10:29:20 UTC 2015


On 9 February 2015 at 09:56, Pino Toscano <ptoscano at redhat.com> wrote:
> On Friday 06 February 2015 10:03:37 Richard W.M. Jones wrote:
[...]
>>   #if !(defined __APPLE__ && defined __MACH__)
>>       execlp ("fusermount", "fusermount", "-u", mountpoint, NULL);
>>   #else
>>       execlp ("/sbin/umount", "umount", mountpoint, NULL);
>>   #endif
>
> Or rather use fusermount only on Linux and umount (with no path)
> elsewhere.

I'm about to mail some patches, your reply arrived just in time. :)
Is #ifdef __linux__ sufficient in this case, then? I don't want to
make too general assumptions.

-- 
M.




More information about the Libguestfs mailing list