]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
include/binary-io.h: guard O_BINARY usage with defined check
authorAndrew Hanson <andrew@andrewhanson.dev>
Fri, 26 Sep 2025 10:22:17 +0000 (12:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Sep 2025 10:22:17 +0000 (12:22 +0200)
commit65a5bb3c1fc4632ed71dfb8c211ff756619afd29
treec8e4815745c76aacaadb3e3c1e91d3af70bc9f4f
parentd94cdcc88131ec01e008cbe3bd09262f47877f16
include/binary-io.h: guard O_BINARY usage with defined check

include/

* binary-io.h: Fix -Wundef compiler warning when O_BINARY is not
defined. Wrap the check to ensure portability across platforms.

Signed-off-by: Andrew Hanson <andrew@andrewhanson.dev>
include/binary-io.h