summaryrefslogtreecommitdiff
path: root/FL/fl_ask.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-04-13 19:35:28 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-04-13 19:35:28 +0000
commit0d231668e1875f0159231b69bb0b13282f0f3cc2 (patch)
tree30fa03e9d78872f461bf9b1711a67b90cfe7d415 /FL/fl_ask.H
parent3cd132b9479bcf53ca57300f3cef99175b67a767 (diff)
Only use __deprecated__ with GCC 3.0 and higher.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/fl_ask.H')
-rw-r--r--FL/fl_ask.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/fl_ask.H b/FL/fl_ask.H
index c0a134865..3ddc3d33a 100644
--- a/FL/fl_ask.H
+++ b/FL/fl_ask.H
@@ -43,6 +43,9 @@ enum {
# ifdef __GNUC__
# define __fl_attr(x) __attribute__ (x)
+# if __GNUC__ < 3
+# define __deprecated__
+# endif // __GNUC__ < 3
# else
# define __fl_attr(x)
# endif // __GNUC__