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
This commit is contained in:
parent
3cd132b947
commit
0d231668e1
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user