aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-04-14 10:53:17 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-04-14 10:53:17 +0000
commitba1a97a18b5d629f62c691d62c69fe97da903b05 (patch)
treef9f103f990c5e7e7097561586673afa50b177ed2 /winsup/w32api
parentf4ae6dc62cfb0cfac135d4e810fef592a401e26b (diff)
downloadnewlib-ba1a97a18b5d629f62c691d62c69fe97da903b05.zip
newlib-ba1a97a18b5d629f62c691d62c69fe97da903b05.tar.gz
newlib-ba1a97a18b5d629f62c691d62c69fe97da903b05.tar.bz2
2004-04-14 Robert Wruck <rwruck@users.sourceforge.net>
* include/ddk/winddk.h (RtlEqualLuid): Correct macro.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog6
-rw-r--r--winsup/w32api/include/ddk/winddk.h10
2 files changed, 10 insertions, 6 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 219ee86..03f56fa 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-14 Robert Wruck <rwruck@users.sourceforge.net>
+
+ * include/ddk/winddk.h (RtlEqualLuid): Correct macro.
+
2004-04-06 Luke Dunstan <infidel@users.sourceforge.net>
* include/ocidl.h (QACONTAINERFLAGS): Correct typedef.
@@ -8,7 +12,7 @@
* lib/directx/dxerr.c: Remove dependence on mingw runtime.
Don't include stdio.h or tchar.h.
Replace _T() macro with TEXT() macro, throughout.
- Replace, _stprintf with wsprintf, throughout.
+ Replace _stprintf with wsprintf, throughout.
2004-03-27 Hosaka Yuji <hos@tamanegi.org>
diff --git a/winsup/w32api/include/ddk/winddk.h b/winsup/w32api/include/ddk/winddk.h
index bda8b53..9853033 100644
--- a/winsup/w32api/include/ddk/winddk.h
+++ b/winsup/w32api/include/ddk/winddk.h
@@ -4398,12 +4398,12 @@ RtlDeleteRegistryValue(
/*
* BOOLEAN
* RtlEqualLuid(
- * IN LUID Luid1,
- * IN LUID Luid2)
+ * IN LUID* Luid1,
+ * IN LUID* Luid2)
*/
-#define RtlEqualLuid(_Luid1, \
- _Luid2) \
- ((Luid1.LowPart == Luid2.LowPart) && (Luid1.HighPart == Luid2.HighPart))
+#define RtlEqualLuid(_Luid1,_Luid2) \
+ ((BOOLEAN) (((_Luid1)->LowPart == (_Luid2)->LowPart) \
+ && ((_Luid1)->HighPart == (_Luid2)->HighPart)))
/*
* ULONG