Revision: 13534
          http://sourceforge.net/p/skim-app/code/13534
Author:   hofman
Date:     2023-07-24 14:36:34 +0000 (Mon, 24 Jul 2023)
Log Message:
-----------
#define kPDFDestinationUnspecifiedValue so we don't link the constant, whih is 
only defined as a constant on 10.13+

Modified Paths:
--------------
    trunk/PDFDestination_SKExtensions.m
    trunk/SKBasePDFView.m

Modified: trunk/PDFDestination_SKExtensions.m
===================================================================
--- trunk/PDFDestination_SKExtensions.m 2023-07-23 14:45:31 UTC (rev 13533)
+++ trunk/PDFDestination_SKExtensions.m 2023-07-24 14:36:34 UTC (rev 13534)
@@ -40,6 +40,9 @@
 #import "PDFPage_SKExtensions.h"
 #import "PDFView_SKExtensions.h"
 
+// don't use the constant, which is only defined on 10.13+
+#define kPDFDestinationUnspecifiedValue FLT_MAX
+
 @implementation PDFDestination (SKExtensions)
 
 - (PDFDestination *)effectiveDestinationForView:(PDFView *)pdfView {

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2023-07-23 14:45:31 UTC (rev 13533)
+++ trunk/SKBasePDFView.m       2023-07-24 14:36:34 UTC (rev 13534)
@@ -50,6 +50,9 @@
 
 static char SKBasePDFViewDefaultsObservationContext;
 
+// don't use the constant, which is only defined on 10.13+
+#define kPDFDestinationUnspecifiedValue FLT_MAX
+
 #if SDK_BEFORE(10_12)
 @interface PDFView (SKSierraDeclarations)
 - (void)drawPage:(PDFPage *)page toContext:(CGContextRef)context;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to