diff options
author | Carles Cufi <carles.cufi@nordicsemi.no> | 2016-09-07 09:37:38 +0200 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-09-07 12:58:55 +0000 |
commit | 5a271f913c38d73574576d9291e76bf338e57c82 (patch) | |
tree | dfecc5384dd8cc587a6250322dfe9db9cfdee1a8 /scripts | |
parent | d29576b365d47a0aa182206772183e1d85f96e17 (diff) |
build: Use __CYGWIN__ to detect Cygwin
The old __CYGWIN32__ does not work with the 64-bit version
of Cygiwn. Using __CYGWIN__ instead allows us to build
gen_idt.c under 64-bit Cygwin.
Change-Id: I6590767153e929764f0b448f74bb8e3f2e593a6a
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/gen_idt/gen_idt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_idt/gen_idt.c b/scripts/gen_idt/gen_idt.c index 77ba79e3a..11ccf1132 100644 --- a/scripts/gen_idt/gen_idt.c +++ b/scripts/gen_idt/gen_idt.c @@ -51,7 +51,7 @@ /* This comes from the shared directory */ #include "idtEnt.h" -#if !defined(_WIN32) && !defined(__CYGWIN32__) && !defined(__WIN32__) +#if !defined(_WIN32) && !defined(__CYGWIN__) && !defined(__WIN32__) #define O_BINARY 0 #endif |