* xlwmenu.c (MINL): Define only if not emacs.

This commit is contained in:
Paul Eggert 2011-04-15 18:38:14 -07:00
parent 5b7d36d143
commit 1fbb460913
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,7 @@
2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
* xlwmenu.c (XlwMenuSetValues): Rename/ move locals to avoid shadowing.
(MINL): Define only if not emacs.
2011-03-07 Chong Yidong <cyd@stupidchicken.com>

View file

@ -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)