summaryrefslogtreecommitdiff
path: root/FL
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
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')
-rw-r--r--FL/mac.H4
-rw-r--r--FL/win32.H4
2 files changed, 4 insertions, 4 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
diff --git a/FL/win32.H b/FL/win32.H
index 45ca5e3dd..0d8253d40 100644
--- a/FL/win32.H
+++ b/FL/win32.H
@@ -21,9 +21,9 @@
// portability of even the system-specific code...
#ifndef FL_DOXYGEN
-#ifndef Fl_X_H
+#ifndef FL_PLATFORM_H
# error "Never use <FL/win32.H> directly; include <FL/platform.H> instead."
-#endif // !Fl_X_H
+#endif // !FL_PLATFORM_H
#include <windows.h>
typedef HWND Window;