diff options
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 1bb3632f9..37210173a 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -57,7 +57,12 @@ typedef struct _PangoFontDescription PangoFontDescription; // See issue #1139: "FL_REGION_STACK_SIZE could be increased" // and issue #1140: "Fix static array allocation". -#define FL_REGION_STACK_SIZE 64 +#if FL_ABI_VERSION >= 10401 +# define FL_REGION_STACK_SIZE 64 +#else +# define FL_REGION_STACK_SIZE 10 +#endif + #define FL_MATRIX_STACK_SIZE 32 /** |
