From mboxrd@z Thu Jan 1 00:00:00 1970 From: david@kdbarto.org (David) Date: Tue, 3 Jan 2017 09:39:36 -0800 Subject: [TUHS] MacOS X is Unix (tm) In-Reply-To: <586bb9dc.iVkFRSLWnXd79ger%schily@schily.net> References: <52C99F50-E24A-4BBF-A129-180A1271B4E3@kdbarto.org> <586a3a23.udW0nRrOopzHoQbP%schily@schily.net> <8168FD75-9C3E-47C1-9BA8-EADAD7D33C38@kdbarto.org> <586bb9dc.iVkFRSLWnXd79ger%schily@schily.net> Message-ID: I’m running Yosemite, Sierra won’t run on my hardware. Does the standard expect an int to be a specific size? I can’t imagine this to be the case. On Mac ints are 32 bits, as are longs. Unlike Linux where long defaults to 64 bits. So keeping the code I work on portable between Linux and the Mac requires more than a bit of ‘ifdef’ hell. David > On Jan 3, 2017, at 6:49 AM, Joerg Schilling wrote: > > David wrote: > >> MacOS passes this except for the si_status test. MacOS uses a signed int there. I???m not sure what the standard says. > > The standard says that si_status is a signed int. > > Which version are you using? > > It seems that Apple changed things... recently? > > > > Jörg > > -- > EMail:joerg at schily.net (home) Jörg Schilling D-13353 Berlin > joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ > URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/