Revision: 16522
          http://sourceforge.net/p/skim-app/code/16522
Author:   hofman
Date:     2026-09-22 09:04:05 +0000 (Tue, 22 Sep 2026)
Log Message:
-----------
define macros when they are not defined

Modified Paths:
--------------
    trunk/SkimNotes/PDFAnnotation_SKNExtensions.m

Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2026-09-22 08:55:04 UTC 
(rev 16521)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2026-09-22 09:04:05 UTC 
(rev 16522)
@@ -55,15 +55,20 @@
 
 #import <objc/objc-runtime.h>
 
-#if !defined(PDFKIT_PLATFORM_OSX)
-
-#define PDFKIT_PLATFORM_OSX
+#ifndef PDFKitPlatformColor
 #define PDFKitPlatformColor         NSColor
+#endif
+#ifndef PDFKitPlatformFont
 #define PDFKitPlatformFont          NSFont
+#endif
+#ifndef PDFPoint
 #define PDFPoint                    NSPoint
+#endif
+#ifndef PDFPointZero
 #define PDFPointZero                NSZeroPoint
+#endif
+#ifndef PDFRectZero
 #define PDFRectZero                 NSZeroRect
-
 #endif
 
 #define SKNMakePoint(x, y)          NSMakePoint(x, y)

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