From 3f2166ea9118a8606ba43a9fa11afb41d1fbaa9b Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 4 Jan 2022 18:36:45 +0100 Subject: Introduction of FL/fl_config.h - continued --- FL/platform_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'FL/platform_types.h') diff --git a/FL/platform_types.h b/FL/platform_types.h index 9b3fa8431..cafeae0c4 100644 --- a/FL/platform_types.h +++ b/FL/platform_types.h @@ -46,6 +46,8 @@ typedef opaque GLContext; /**< an OpenGL graphics context, into which all OpenGL #ifndef FL_PLATFORM_TYPES_H #define FL_PLATFORM_TYPES_H +#include + /* Platform-dependent types are defined here. These types must be defined by any platform: Fl_Offscreen, Fl_Bitmask, Fl_Region, FL_SOCKET, GLContext, struct dirent, struct stat, @@ -136,7 +138,7 @@ typedef struct __GLXcontextRec *GLContext; #include #include -#else /* X11 */ +#elif defined(FLTK_USE_X11) typedef unsigned long Fl_Offscreen; typedef unsigned long Fl_Bitmask; -- cgit v1.2.3