summaryrefslogtreecommitdiff
path: root/FL/mac.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2018-01-31 22:34:48 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2018-01-31 22:34:48 +0000
commit1d97f94e56a4ba5e05241c4fd01902cc4a4347bd (patch)
tree4cdda15a2ed4f323fbc31e393cf6d8fb9d6afe37 /FL/mac.H
parent42d8aba117e360890f8c3520a5ee380315a9c98f (diff)
Fix broken Windows and macOS builds.
The check whether mac.H or win32.H were included directly was wrong after the recent rename of x.H to platform.H. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
-rw-r--r--FL/mac.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/mac.H b/FL/mac.H
index d1e49096b..7db23387b 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -21,9 +21,9 @@
// portability of even the system-specific code...
#ifndef FL_DOXYGEN
-#if !defined(Fl_X_H)
+#if !defined(FL_PLATFORM_H)
# error "Never use <FL/mac.H> directly; include <FL/platform.H> instead."
-#endif // !Fl_X_H
+#endif // !FL_PLATFORM_H
#ifdef __OBJC__
@class FLWindow; // a subclass of the NSWindow Cocoa class