diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-01-04 18:36:45 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-01-04 18:36:56 +0100 |
| commit | 3f2166ea9118a8606ba43a9fa11afb41d1fbaa9b (patch) | |
| tree | e3f43b37f06e96ab83a400d1f32c97213486b247 /FL/platform_types.h | |
| parent | e80a2734e847bdbbf060b52f86890b409b033710 (diff) | |
Introduction of FL/fl_config.h - continued
Diffstat (limited to 'FL/platform_types.h')
| -rw-r--r-- | FL/platform_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <FL/fl_config.h> + /* 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 <sys/types.h> #include <dirent.h> -#else /* X11 */ +#elif defined(FLTK_USE_X11) typedef unsigned long Fl_Offscreen; typedef unsigned long Fl_Bitmask; |
