Ok, we need to limit that to Windows platforms then.  And we need a check
instead of the below:

  defined(_MSC_VER) || defined(__MINGW32__)

that also handles Cygwin.

behdad

On 02/11/2013 06:56 AM, Jonathan Kew wrote:
> The current code in util/options.cc fails to build for me on OS X because of
> the two uses of setmode(<file>, _O_BINARY). It seems that I have a setmode
> function, so HAVE_SETMODE is true, but it's not actually the same thing as you
> were expecting on Win32.
> 

-- 
behdad
http://behdad.org/
_______________________________________________
HarfBuzz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to