From 1fbb4609138cca32a9bac72561f63f22b0f26469 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 15 Apr 2011 18:38:14 -0700 Subject: [PATCH] * xlwmenu.c (MINL): Define only if not emacs. --- lwlib/ChangeLog | 1 + lwlib/xlwmenu.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index f083f64990a..f098b6d0ad6 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,6 +1,7 @@ 2011-04-16 Paul Eggert * xlwmenu.c (XlwMenuSetValues): Rename/ move locals to avoid shadowing. + (MINL): Define only if not emacs. 2011-03-07 Chong Yidong diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index 507d1f168af..e9ec604ae7f 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -1693,8 +1693,10 @@ release_drawing_gcs (XlwMenuWidget mw) mw->menu.background_gc = (GC) -1; } +#ifndef emacs #define MINL(x,y) ((((unsigned long) (x)) < ((unsigned long) (y))) \ ? ((unsigned long) (x)) : ((unsigned long) (y))) +#endif static void make_shadow_gcs (XlwMenuWidget mw) -- 2.39.2