This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
[PATCH] tweak SYSTEM_LUID in winnt.h
- To: cygdev <cygwin-developers at cygwin dot com>
- Subject: [PATCH] tweak SYSTEM_LUID in winnt.h
- From: Corinna Vinschen <vinschen at redhat dot com>
- Date: Fri, 31 Aug 2001 21:53:10 +0200
- Reply-To: cygdev <cygwin-developers at cygwin dot com>
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.