[PATCH 02/20] Include: MICROSOFT_KERBEROS_NAME_A definition should be available regardless of UNICODE.

Dmitry Timoshkov dmitry at baikal.ru
Thu Jan 18 09:50:56 CST 2018


Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 include/ntsecapi.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/include/ntsecapi.h b/include/ntsecapi.h
index 36357c61b4..d0339a97ef 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
-- 
2.15.1




More information about the wine-devel mailing list