Remove FLTK 1.4 ABI guards

This commit is contained in:
Albrecht Schlosser
2025-07-01 11:04:52 +02:00
parent dbd54b8557
commit a34711daeb
2 changed files with 2 additions and 9 deletions
+1 -5
View File
@@ -57,11 +57,7 @@ typedef struct _PangoFontDescription PangoFontDescription;
// See issue #1139: "FL_REGION_STACK_SIZE could be increased"
// and issue #1140: "Fix static array allocation".
#if FL_ABI_VERSION >= 10401
# define FL_REGION_STACK_SIZE 64
#else
# define FL_REGION_STACK_SIZE 10
#endif
#define FL_REGION_STACK_SIZE 64
#define FL_MATRIX_STACK_SIZE 32
+1 -4
View File
@@ -225,11 +225,8 @@ class FL_EXPORT Fl_Help_View : public Fl_Group { // Help viewer widget
atargets_; ///< Allocated targets
Fl_Help_Target *targets_; ///< Targets
#if FL_ABI_VERSION >= 10401
// FIXME: do we really need this size?
char directory_[2 * FL_PATH_MAX + 15]; ///< Directory for current file
#else
char directory_[FL_PATH_MAX]; ///< Directory for current file
#endif
char filename_[FL_PATH_MAX]; ///< Current filename
int topline_, ///< Top line in document