* nsgui.h: Fix compiler warning about gnulib redefining verify.
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 8 Jul 2011 08:42:58 +0000 (10:42 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 8 Jul 2011 08:42:58 +0000 (10:42 +0200)
src/ChangeLog
src/nsgui.h

index c925b32..3c718c0 100644 (file)
@@ -1,5 +1,7 @@
 2011-07-08  Jan Djärv  <jan.h.d@swipnet.se>
 
+       * nsgui.h: Fix compiler warning about gnulib redefining verify.
+
        * nsselect.m (ns_get_local_selection): Change to extern (Bug#8842).
 
        * nsmenu.m (ns_update_menubar): Remove useless setDelegate call
index a695563..999dc27 100644 (file)
@@ -30,6 +30,8 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #undef init_process
 #endif  /* NS_IMPL_COCOA */
 
+#undef verify
+
 #import <AppKit/AppKit.h>
 
 #ifdef NS_IMPL_COCOA
@@ -44,6 +46,9 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #endif /* __OBJC__ */
 
+#undef verify
+#undef _GL_VERIFY_H
+#include <verify.h>
 
 /* menu-related */
 #define free_widget_value(wv) xfree (wv)