mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 17:53:00 +00:00
In order to keep the code compatibility with Linux and Windows, the flag O_BINARY is defined as zero when we are compiling in a Linux host. But when compiling in a Windows host, we have to use the definition of the flag provided by the host's includes. Currently, there is a custom macro to identify if the host is a Windows host. This commit change that custom macro for the macros that compilers provide to avoid defining a new one. Change-Id: Ifeeab17c68d07039bd5b4a80c8263d338e6448ce Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com> |
||
---|---|---|
arch | ||
doc | ||
drivers | ||
include | ||
kernel | ||
lib | ||
misc | ||
net | ||
samples | ||
scripts | ||
.checkpatch.conf | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
Kbuild | ||
Kconfig | ||
Kconfig.zephyr | ||
LICENSE | ||
Makefile | ||
Makefile.inc | ||
zephyr-env.sh |