summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-12-19 17:57:19 +0000
committerManolo Gouy <Manolo>2010-12-19 17:57:19 +0000
commitdc0c85b9644553ac9b5c51da43697b9906f9b44d (patch)
tree1d5fd97595bb53b1915fb5b286f94ff35e74b891 /src/Fl_cocoa.mm
parent29cff1612f51a69e3a45dcdfdc785c1b84e85348 (diff)
Added protection against compilation besides Mac OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index ea3c05983..cd191a5a0 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -55,7 +55,7 @@
fl_open_display() in Fl.o
*/
-#ifndef FL_DOXYGEN
+#ifdef __APPLE__
#define CONSOLIDATE_MOTION 0
extern "C" {
@@ -3266,7 +3266,7 @@ CGRect fl_cgrectmake_cocoa(int x, int y, int w, int h) {
return CGRectMake(x, y, w > 0 ? w - 0.9 : 0, h > 0 ? h - 0.9 : 0);
}
-#endif // FL_DOXYGEN
+#endif // __APPLE__
//
// End of "$Id: Fl_cocoa.mm 6971 2009-04-13 07:32:01Z matt $".