diff --git a/FL/porting.H b/FL/porting.H index 2590cb1d4..c1b586f48 100644 --- a/FL/porting.H +++ b/FL/porting.H @@ -21,9 +21,9 @@ // These types and variables give access to internal, platform-specific data through the public API. // They require to include platform.H (in contrast to types defined in platform_types.h) -#if !defined(Fl_X_H) +#if !defined(FL_PLATFORM_H) # error "Never use directly; include instead." -#endif // !Fl_X_H +#endif // !FL_PLATFORM_H typedef void *Window; // used by fl_find(), fl_xid() and class Fl_X