notify/osx_notifications: Fix build
authorMarvin Scholz <epirat07@gmail.com>
Mon, 3 Jul 2017 21:29:46 +0000 (23:29 +0200)
committerMarvin Scholz <epirat07@gmail.com>
Mon, 3 Jul 2017 21:29:46 +0000 (23:29 +0200)
We need to ignore the unguarded-availability diagnostic, we are already
using partial-availability here anyway.

modules/notify/osx_notifications.m

index 5cb4758..e4b8f51 100644 (file)
@@ -60,6 +60,8 @@
  * Preamble
  *****************************************************************************/
 
+#pragma clang diagnostic ignored "-Wunguarded-availability"
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif