>From abe6a3d9f043550ebd7647422c2eeb89018caa33 Mon Sep 17 00:00:00 2001
From: Alexpux <[email protected]>
Date: Thu, 20 Nov 2014 07:42:19 +0300
Subject: [PATCH] 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 9103bdb..4174a54 100644
--- a/src/auth/trusted/AuthSspi.cpp
+++ b/src/auth/trusted/AuthSspi.cpp
@@ -135,7 +135,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.2.0
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to