Resolve #include collusions by using #ifndef.

(Logical change 1.506)
edge.strict_endians
!uv 2004-08-20 12:04:47 +00:00
parent dc9c44c798
commit 083aac380c
1 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,11 @@ typedef s64 LCN;
*/
typedef s64 LSN;
/*
* Cygwin has a collusion between our BOOL and <windef.h>'s
* As long as this file will be included after <windows.h> were fine.
*/
#ifndef _WINDEF_H
/*
* These are just to make the code more readable...
*/
@ -70,6 +75,7 @@ typedef enum {
YES = 1,
ONE = 1,
} BOOL;
#endif /* defined _WINDEF_H */
typedef enum {
CASE_SENSITIVE = 0,