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>
This commit is contained in:
parent
d29576b365
commit
5a271f913c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue