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
This commit is contained in:
parent
42d8aba117
commit
1d97f94e56
4
FL/mac.H
4
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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user