Dmitry Timoshkov : include: MICROSOFT_KERBEROS_NAME_A definition should be available regardless of UNICODE.
Alexandre Julliard
julliard at winehq.org
Fri Jan 19 15:43:20 CST 2018
Module: wine
Branch: master
Commit: 943f0d38ec54c5205bf5e5b85c66b3908a159109
URL: https://source.winehq.org/git/wine.git/?a=commit;h=943f0d38ec54c5205bf5e5b85c66b3908a159109
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Thu Jan 18 23:50:56 2018 +0800
include: MICROSOFT_KERBEROS_NAME_A definition should be available regardless of UNICODE.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/ntsecapi.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/include/ntsecapi.h b/include/ntsecapi.h
index 36357c6..d0339a9 100644
--- a/include/ntsecapi.h
+++ b/include/ntsecapi.h
@@ -340,7 +340,7 @@ typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS
PolicyNotifyMachineAccountPasswordInformation
} POLICY_NOTIFICATION_INFORMATION_CLASS, *PPOLICY_NOTIFICATION_INFORMATION_CLASS;
-#ifdef UNICODE
+#define MICROSOFT_KERBEROS_NAME_A "Kerberos"
#if defined(_MSC_VER)
#define MICROSOFT_KERBEROS_NAME_W L"Kerberos"
#elif defined(__GNUC__)
@@ -348,9 +348,6 @@ typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS
#else /* _MSC_VER/__GNUC__ */
static const WCHAR MICROSOFT_KERBEROS_NAME_W[] = { 'K','e','r','b','e','r','o','s',0 };
#endif
-#else /* UNICODE */
-#define MICROSOFT_KERBEROS_NAME_A "Kerberos"
-#endif
#define RtlGenRandom SystemFunction036
#define RtlEncryptMemory SystemFunction040
More information about the wine-cvs
mailing list