From: Danny Smith Date: Wed, 1 Oct 2003 21:40:43 +0000 (+0000) Subject: * include/winnt.h (INVALID_FILE_ATTRIBUTES): Fix define. X-Git-Tag: corinna-01~134 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=334117a940812f19bdaf2150af3f6bd070e5d517;p=newlib-cygwin.git * include/winnt.h (INVALID_FILE_ATTRIBUTES): Fix define. --- diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 436b097c6..e069a3746 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,7 @@ +2003-10-01 Danny Smith + + * include/winnt.h (INVALID_FILE_ATTRIBUTES): Fix define. + 2003-09-30 Danny Smith * include/winuser.h (BSF_*, BSM_*): Sync constants defined in diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index 91c52956a..2818a5a3d 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -208,7 +208,7 @@ typedef DWORD FLONG; #define GENERIC_EXECUTE 0x20000000 #define GENERIC_ALL 0x10000000 -#define INVALID_FILE_ATTRIBUTES (DWORD (-1)) +#define INVALID_FILE_ATTRIBUTES ((DWORD)-1) /* Also in ddk/winddk.h */ #define FILE_LIST_DIRECTORY 0x00000001