summaryrefslogtreecommitdiff
path: root/FL/fl_attr.h
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-04-02 15:26:36 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-04-02 16:03:00 +0200
commit7a879568b3fd16ce84ee4fa3e268272eb53fc590 (patch)
tree46a16de5c8f5b11b221c9cefddfd4a1afb7b8cab /FL/fl_attr.h
parent16cd29fd6d504a154ac0a00bb05a95e7842ae5d8 (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/fl_attr.h')
-rw-r--r--FL/fl_attr.h6
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__ */