diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-04-02 15:26:36 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-04-02 16:03:00 +0200 |
| commit | 7a879568b3fd16ce84ee4fa3e268272eb53fc590 (patch) | |
| tree | 46a16de5c8f5b11b221c9cefddfd4a1afb7b8cab /FL | |
| parent | 16cd29fd6d504a154ac0a00bb05a95e7842ae5d8 (diff) | |
Improve support for NetBSD (#944)
- fix gcc version check for FL_DEPRECATED macro
- fix #include for select() on NetBSD < 3.0 (#944)
For more info please see GitHub Issue #944
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/fl_attr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/fl_attr.h b/FL/fl_attr.h index 52b350754..46d4cb793 100644 --- a/FL/fl_attr.h +++ b/FL/fl_attr.h @@ -1,7 +1,7 @@ /* * Function attribute declarations for the Fast Light Tool Kit (FLTK). * - * Copyright 1998-2023 by Bill Spitzak and others. + * Copyright 1998-2024 by Bill Spitzak and others. * * This library is free software. Distribution and use rights are outlined in * the file "COPYING" which should have been included with this file. If this @@ -168,11 +168,11 @@ #endif #endif /* gcc 4.5.0 */ -#if FL_GCC_VERSION > 30100 /* gcc 3.1.0 */ +#if FL_GCC_VERSION >= 30400 /* gcc 3.4.0 */ #ifndef FL_DEPRECATED #define FL_DEPRECATED(msg, func) func __attribute__((deprecated)) #endif -#endif /* gcc 3.1.0 */ +#endif /* gcc 3.4.0 */ #endif /* __GNUC__ */ |
