[Mutt] #3199: Avoid redefining min() in alias.c
#3199: Avoid redefining min() in alias.c
--------------------+-------------------------------------------------------
Reporter: jon | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version:
Keywords: |
--------------------+-------------------------------------------------------
`mutt_alias_complete` in `alias.c` defines a local `min()` macro without
checking for a prior definition of `min()`.
The attached patch checks for a prior definition before defining a local
version of `min()`.
Alternatively, we could `#undef min` before defining the local version.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3199>
Mutt <http://www.mutt.org/>
The Mutt mail user agent