]> git.sesse.net Git - vlc/commitdiff
quartztext: Silence warning that are not our business in ColorSync headers.
authorPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 14:29:37 +0000 (16:29 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 14:43:25 +0000 (16:43 +0200)
modules/misc/quartztext.c

index b94c283bfd873133283d18d165568ab21ed969b2..c36a59d30ed20b799163f72a91fbae6ebeec46eb 100644 (file)
@@ -42,6 +42,9 @@
 
 #include <math.h>
 
+// Fix ourselves ColorSync headers that gets included in ApplicationServices.
+#define DisposeCMProfileIterateUPP(a) DisposeCMProfileIterateUPP(CMProfileIterateUPP userUPP __attribute__((unused)))
+#define DisposeCMMIterateUPP(a) DisposeCMMIterateUPP(CMProfileIterateUPP userUPP __attribute__((unused)))
 #include <Carbon/Carbon.h>
 
 #define DEFAULT_FONT           "Arial Black"