* regtool.cc (KEY_WOW64_64KEY): Drop definition. Instead define

WINVER to 0x0502 before including windows.h.
This commit is contained in:
Corinna Vinschen 2006-10-16 19:34:27 +00:00
parent 40c60b89d5
commit 53930874cb
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2006-10-16 Corinna Vinschen <corinna@vinschen.de>
* regtool.cc (KEY_WOW64_64KEY): Drop definition. Instead define
WINVER to 0x0502 before including windows.h.
2006-10-16 Corinna Vinschen <corinna@vinschen.de>
* regtool.cc (KEY_WOW64_64KEY): Define.

View File

@ -13,15 +13,12 @@ details. */
#include <errno.h>
#include <ctype.h>
#include <getopt.h>
#define WINVER 0x0502
#include <windows.h>
#include <sys/cygwin.h>
#define DEFAULT_KEY_SEPARATOR '\\'
#ifndef KEY_WOW64_64KEY
#define KEY_WOW64_64KEY 0x100
#endif
enum
{
KT_AUTO, KT_BINARY, KT_INT, KT_STRING, KT_EXPAND, KT_MULTI