[HarfBuzz] build fails due to setmode() in options.cc

Behdad Esfahbod behdad at behdad.org
Mon Feb 11 14:02:58 PST 2013


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/



More information about the HarfBuzz mailing list