[vlc-devel] commit: quartztext: Silence warning that are not our business in ColorSync headers. (Pierre d' Herbemont )

git version control git at videolan.org
Thu Aug 20 16:43:34 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 16:29:37 2009 +0200| [4d72cb6807a07e21f8e63c476cd9f0c4ffbaf309] | committer: Pierre d'Herbemont 

quartztext: Silence warning that are not our business in ColorSync headers.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4d72cb6807a07e21f8e63c476cd9f0c4ffbaf309
---

 modules/misc/quartztext.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/misc/quartztext.c b/modules/misc/quartztext.c
index b94c283..c36a59d 100644
--- a/modules/misc/quartztext.c
+++ b/modules/misc/quartztext.c
@@ -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"




More information about the vlc-devel mailing list