]> git.sesse.net Git - vlc/blobdiff - modules/access/screen/mac.c
Qt: CaptureOpenPanel: check and prefill with usual devices
[vlc] / modules / access / screen / mac.c
index f469bac99476b3bda622c3d096b884d91e43d132..3e31e8968ee3a3e29591a748444b38607e2ba802 100644 (file)
 
 #import <vlc_common.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)))
+#define __MACHINEEXCEPTIONS__
 #import <ApplicationServices/ApplicationServices.h>
+
 #import <OpenGL/OpenGL.h>
 #import <OpenGL/gl.h>
 #import <stdlib.h>