aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPOSInfo.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-10-06 01:31:09 +0200
committerMax <post@wickenrode.com>2015-10-06 01:46:50 +0200
commit0f5ae461ea1f33cea1d7e7364a3f9e1574200755 (patch)
treed1326668e6d6c0baf0f08b4c608379442a64b31b /Source/SPOSInfo.m
parent85853c0f4c6737fc7537e02b0ee1d8da123f0a3d (diff)
downloadsequelpro-0f5ae461ea1f33cea1d7e7364a3f9e1574200755.tar.gz
sequelpro-0f5ae461ea1f33cea1d7e7364a3f9e1574200755.tar.bz2
sequelpro-0f5ae461ea1f33cea1d7e7364a3f9e1574200755.zip
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
Diffstat (limited to 'Source/SPOSInfo.m')
-rw-r--r--Source/SPOSInfo.m5
1 files changed, 5 insertions, 0 deletions
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 {