[PATCH] tweak SYSTEM_LUID in winnt.h
Corinna Vinschen
vinschen@redhat.com
Fri Aug 31 12:53:00 GMT 2001
Hi,
the change of the definition of LARGE_INTEGER in winnt.h causes a
compiler warning when the SYSTEM_LUID macro is used. I changed
the definition of SYSTEM_LUID to comply with the new definition of
LARGE_INTEGER:
Index: include/winnt.h
===================================================================
RCS file: /cvs/src/src/winsup/w32api/include/winnt.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -r1.26 -r1.27
--- winnt.h 2001/08/30 04:29:48 1.26
+++ winnt.h 2001/08/31 19:48:04 1.27
@@ -1075,7 +1075,7 @@ typedef struct _GUID {
unsigned short Data3;
unsigned char Data4[8];
} GUID, *REFGUID, *LPGUID;
-#define SYSTEM_LUID { 999 }
+#define SYSTEM_LUID { QuadPart:999 }
#endif /* _GUID_DEFINED */
typedef struct _GENERIC_MAPPING {
ACCESS_MASK GenericRead;
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
More information about the Cygwin-developers
mailing list