delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 <vinschen AT redhat DOT com> |
To: | cygdev <cygwin-developers AT cygwin DOT com> |
Subject: | [PATCH] tweak SYSTEM_LUID in winnt.h |
Message-ID: | <20010831215310.G634@cygbert.vinschen.de> |
Reply-To: | cygdev <cygwin-developers AT cygwin DOT com> |
Mail-Followup-To: | cygdev <cygwin-developers AT cygwin DOT com> |
Mime-Version: | 1.0 |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |