wrlib: fix usage of deprecated attribute for gcc 3.x
commit1748a183802a02029dba9159096e837fb694bbbd
authorMilan Čermák <mcermak@chello.cz>
Sat, 25 Oct 2014 22:31:39 +0000 (26 00:31 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 2 Nov 2014 12:08:59 +0000 (2 13:08 +0100)
tree4f0669a0ee17e46df535ee95623cdead781e12ca
parent461214d87096aa589028a7e3f26856d1de275a31
wrlib: fix usage of deprecated attribute for gcc 3.x

It seems that the argument to the attribute 'deprecated' is a novelty of
gcc 4.x, the attribute introduced in gcc 3.x did not take any parameter.

As Solaris 10 is providing gcc 3.4.3, this patch updates the detection in
the public API header to make it compile properly.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
wrlib/wraster.h