vlc | branch: master | Marvin Scholz <[email protected]> | Mon Jul  3 23:29:46 
2017 +0200| [941fb41401fdb350a380236c257c7f89327c1ce1] | committer: Marvin 
Scholz

notify/osx_notifications: Fix build

We need to ignore the unguarded-availability diagnostic, we are already
using partial-availability here anyway.

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

 modules/notify/osx_notifications.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/notify/osx_notifications.m 
b/modules/notify/osx_notifications.m
index 5cb4758116..e4b8f516ab 100644
--- a/modules/notify/osx_notifications.m
+++ b/modules/notify/osx_notifications.m
@@ -60,6 +60,8 @@
  * Preamble
  *****************************************************************************/
 
+#pragma clang diagnostic ignored "-Wunguarded-availability"
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to