From: Eli Zaretskii Date: Fri, 11 Sep 2015 07:56:18 +0000 (+0300) Subject: Fix NS build with --enable-checking='glyphs' X-Git-Tag: emacs-25.0.90~1224^2~154^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=24987908857f6cc5e25f17638db45a73f32603a3;p=emacs.git Fix NS build with --enable-checking='glyphs' * src/nsfns.m (unwind_create_frame): Make the preprocessor conditionals for referencing 'dpyinfo' consistent throughout the function. (Bug#21426) --- diff --git a/src/nsfns.m b/src/nsfns.m index 89b9f7c4b62..9c805ac20d1 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -1009,7 +1009,7 @@ unwind_create_frame (Lisp_Object frame) x_free_frame_resources (f); free_glyphs (f); -#ifdef GLYPH_DEBUG +#if defined GLYPH_DEBUG && defined ENABLE_CHECKING /* Check that reference counts are indeed correct. */ eassert (dpyinfo->terminal->image_cache->refcount == image_cache_refcount); #endif