# HG changeset patch # User Gerd Moellmann # Date 977998310 0 # Node ID 53e52b3525bf6d10a151ac6d9e88e2e0bb1759d1 # Parent 21ab14f51772dc7b8c651c0cbe6bc4d2156aa684 Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG. diff -r 21ab14f51772 -r 53e52b3525bf src/dispnew.c --- a/src/dispnew.c Thu Dec 28 10:08:46 2000 +0000 +++ b/src/dispnew.c Thu Dec 28 10:11:50 2000 +0000 @@ -141,7 +141,7 @@ int, int, struct dim)); static void change_frame_size_1 P_ ((struct frame *, int, int, int, int, int)); static void swap_glyph_pointers P_ ((struct glyph_row *, struct glyph_row *)); -#ifdef GLYPH_DEBUG +#if GLYPH_DEBUG static int glyph_row_slice_p P_ ((struct glyph_row *, struct glyph_row *)); #endif static void fill_up_frame_row_with_spaces P_ ((struct glyph_row *, int)); diff -r 21ab14f51772 -r 53e52b3525bf src/xfns.c --- a/src/xfns.c Thu Dec 28 10:08:46 2000 +0000 +++ b/src/xfns.c Thu Dec 28 10:11:50 2000 +0000 @@ -255,7 +255,7 @@ Lisp_Object Qface_set_after_frame_default; -#ifdef GLYPH_DEBUG +#if GLYPH_DEBUG int image_cache_refcount, dpyinfo_refcount; #endif @@ -4043,7 +4043,7 @@ /* If frame is ``official'', nothing to do. */ if (!CONSP (Vframe_list) || !EQ (XCAR (Vframe_list), frame)) { -#ifdef GLYPH_DEBUG +#if GLYPH_DEBUG struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); #endif @@ -4158,7 +4158,7 @@ f->icon_name = Qnil; FRAME_X_DISPLAY_INFO (f) = dpyinfo; -#ifdef GLYPH_DEBUG +#if GLYPH_DEBUG image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount; dpyinfo_refcount = dpyinfo->reference_count; #endif /* GLYPH_DEBUG */ @@ -10440,7 +10440,7 @@ f->output_data.x->scroll_bar_background_pixel = -1; f->icon_name = Qnil; FRAME_X_DISPLAY_INFO (f) = dpyinfo; -#ifdef GLYPH_DEBUG +#if GLYPH_DEBUG image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount; dpyinfo_refcount = dpyinfo->reference_count; #endif /* GLYPH_DEBUG */