summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorScott Duplichan <scott@notabs.org>2014-12-12 21:03:06 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2014-12-19 18:55:48 +0100
commitf2c9837e6f30e65f0a53b1c53c328ef8b6bf71f4 (patch)
tree19dc1377f3a4b771f7c2a2feed771a720503464d /Makefile.inc
parente1a4dc803ac9e0a34eabb8f5a7bbbde0c3fdf856 (diff)
ifdtool: Add O_BINARY to open flags for Windows compatibility
Windows requires O_BINARY when opening a binary file. Otherwise \n characters get expanded to \r\n and <ctrl>z is treated as end of file. For compatibility with non-Windows hosts, the patch defines O_BINARY if it is not already defined. Change-Id: I04cd609b644b1edbe9104153b43b9996811ffd38 Signed-off-by: Scott Duplichan <scott@notabs.org> Reviewed-on: http://review.coreboot.org/7789 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'Makefile.inc')
0 files changed, 0 insertions, 0 deletions