mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 22:04:26 +08:00
Remove FLTK 1.4 ABI guards
This commit is contained in:
@@ -57,11 +57,7 @@ typedef struct _PangoFontDescription PangoFontDescription;
|
|||||||
// See issue #1139: "FL_REGION_STACK_SIZE could be increased"
|
// See issue #1139: "FL_REGION_STACK_SIZE could be increased"
|
||||||
// and issue #1140: "Fix static array allocation".
|
// and issue #1140: "Fix static array allocation".
|
||||||
|
|
||||||
#if FL_ABI_VERSION >= 10401
|
#define FL_REGION_STACK_SIZE 64
|
||||||
# define FL_REGION_STACK_SIZE 64
|
|
||||||
#else
|
|
||||||
# define FL_REGION_STACK_SIZE 10
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define FL_MATRIX_STACK_SIZE 32
|
#define FL_MATRIX_STACK_SIZE 32
|
||||||
|
|
||||||
|
|||||||
+1
-4
@@ -225,11 +225,8 @@ class FL_EXPORT Fl_Help_View : public Fl_Group { // Help viewer widget
|
|||||||
atargets_; ///< Allocated targets
|
atargets_; ///< Allocated targets
|
||||||
Fl_Help_Target *targets_; ///< 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
|
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
|
char filename_[FL_PATH_MAX]; ///< Current filename
|
||||||
int topline_, ///< Top line in document
|
int topline_, ///< Top line in document
|
||||||
|
|||||||
Reference in New Issue
Block a user