blob: 64ca603083dd63d94cb28fd918087abd6624e459 [file] [log] [blame]
From 3111e94f0404818ac20d51f7261c195dda4301f4 Mon Sep 17 00:00:00 2001
From: Alexpux <alexey.pawlow@gmail.com>
Date: Wed, 19 Nov 2014 10:08:42 +0300
Subject: [PATCH 06/27] mingw-w64 don't need hack for SecPkgContext_AccessToken
---
src/auth/trusted/AuthSspi.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/auth/trusted/AuthSspi.cpp b/src/auth/trusted/AuthSspi.cpp
index d420041ee1..15b859c703 100644
--- a/src/auth/trusted/AuthSspi.cpp
+++ b/src/auth/trusted/AuthSspi.cpp
@@ -87,7 +87,7 @@ AuthSspi::~AuthSspi()
bool AuthSspi::checkAdminPrivilege(PCtxtHandle phContext) const
{
-#if defined (__GNUC__)
+#if defined (__GNUC__) && !defined(__MINGW64_VERSION_MAJOR)
// ASF: MinGW hack.
struct SecPkgContext_AccessToken
{
--
2.13.0