[TUHS] MacOS X is Unix (tm)

David david at kdbarto.org
Wed Jan 4 03:39:36 AEST 2017


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 <schily at schily.net> wrote:
> 
> David <david at kdbarto.org> 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/




More information about the TUHS mailing list