aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2008-02-24 10:57:02 +0000
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2008-02-24 10:57:02 +0000
commitff42f5b1e35d7c605288680b6f7de02d675143b7 (patch)
tree74af577ea816174de59016a2e578854588d19a81 /winsup/w32api/include
parent7f9ab780cd78992a364839a2bac8cefc889d5617 (diff)
downloadnewlib-ff42f5b1e35d7c605288680b6f7de02d675143b7.zip
newlib-ff42f5b1e35d7c605288680b6f7de02d675143b7.tar.gz
newlib-ff42f5b1e35d7c605288680b6f7de02d675143b7.tar.bz2
2008-02-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winnt.h: Update guard around KEY_WOW64_64KEY and KEY_WOW64_32KEY definitions. * include/winreg.h (KEY_WOW64_64KEY, KEY_WOW64_32KEY): Remove.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/winnt.h2
-rw-r--r--winsup/w32api/include/winreg.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index 21ef9d6..60d8ca5 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -975,7 +975,7 @@ typedef DWORD FLONG;
#define KEY_WRITE 0x20006
#define KEY_EXECUTE 0x20019
#define KEY_READ 0x20019
-#if (_WIN32_WINNT >= 0x0501)
+#if (_WIN32_WINNT >= 0x0502)
#define KEY_WOW64_64KEY 0x0100
#define KEY_WOW64_32KEY 0x0200
#endif
diff --git a/winsup/w32api/include/winreg.h b/winsup/w32api/include/winreg.h
index 0e5fbf1..81aebba 100644
--- a/winsup/w32api/include/winreg.h
+++ b/winsup/w32api/include/winreg.h
@@ -41,11 +41,6 @@ extern "C" {
#define REG_NOTIFY_CHANGE_LAST_SET 4
#define REG_NOTIFY_CHANGE_SECURITY 8
-#if (WINVER >= 0x0502)
-#define KEY_WOW64_32KEY 0x0200
-#define KEY_WOW64_64KEY 0x0100
-#endif
-
#ifndef RC_INVOKED
typedef ACCESS_MASK REGSAM;
typedef struct value_entA {