diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-01-31 22:34:48 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-01-31 22:34:48 +0000 |
| commit | 1d97f94e56a4ba5e05241c4fd01902cc4a4347bd (patch) | |
| tree | 4cdda15a2ed4f323fbc31e393cf6d8fb9d6afe37 /FL | |
| parent | 42d8aba117e360890f8c3520a5ee380315a9c98f (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.H | 4 | ||||
| -rw-r--r-- | FL/win32.H | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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; |
