Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Fri, 31 Aug 2001 21:53:10 +0200 From: Corinna Vinschen To: cygdev Subject: [PATCH] tweak SYSTEM_LUID in winnt.h Message-ID: <20010831215310.G634@cygbert.vinschen.de> Reply-To: cygdev Mail-Followup-To: cygdev Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 AT cygwin DOT com Red Hat, Inc.