From 0f5ae461ea1f33cea1d7e7364a3f9e1574200755 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 6 Oct 2015 01:31:09 +0200 Subject: Fix broken keychain access with SSH on 10.6 (fixes #2268) (From the department of commits to be rolled back soon) Conflicts: sequel-pro.xcodeproj/project.pbxproj --- Source/SPOSInfo.m | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/SPOSInfo.m') diff --git a/Source/SPOSInfo.m b/Source/SPOSInfo.m index 8d91c067..b862e898 100644 --- a/Source/SPOSInfo.m +++ b/Source/SPOSInfo.m @@ -30,6 +30,11 @@ #import "SPOSInfo.h" +// Needed because this class is also compiled with SequelProTunnelAssistant which can't access SPConstants.h +#ifndef __MAC_10_10 +#define __MAC_10_10 101000 +#endif + #if __MAC_OS_X_VERSION_MAX_ALLOWED < __MAC_10_10 // This code is available since 10.8 but public only since 10.10 typedef struct { -- cgit v1.2.3