Index: /libcaca/trunk/caca/caca.h
===================================================================
--- /libcaca/trunk/caca/caca.h	(revision 4322)
+++ /libcaca/trunk/caca/caca.h	(revision 4323)
@@ -645,7 +645,11 @@
 #   if defined __GNUC__ && __GNUC__ >= 3
 #       define CACA_DEPRECATED __attribute__ ((__deprecated__))
+#   else
+#       define CACA_DEPRECATED
+#   endif
+
+#   if defined __GNUC__ && __GNUC__ > 3
 #       define CACA_ALIAS(x) __attribute__ ((weak, alias(#x)))
 #   else
-#       define CACA_DEPRECATED
 #       define CACA_ALIAS(x)
 #   endif
