#3833: mutt 1.6.0 does't compile on Solaris 11 because M_READ is already defined
in /usr/include/sys/stream.h
---------------------+----------------------
  Reporter:  mutti   |      Owner:  mutt-dev
      Type:  defect  |     Status:  closed
  Priority:  minor   |  Milestone:
 Component:  mutt    |    Version:  1.6.0
Resolution:  fixed   |   Keywords:  solaris
---------------------+----------------------
Changes (by Kevin McCarthy <kevin@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23334e967dd7bbe283c894eb6f840524c72bd7df"]:
 {{{
 #!CommitTicketReference repository=""
 revision="23334e967dd7bbe283c894eb6f840524c72bd7df"
 Create a wrapper sys_socket.h to work around Solaris namespace issues.
 (closes #3833)

 Solaris includes "sys/stream.h" inside their "sys/socket.h".  This
 include file adds many non-reserved macros to Mutt's namespace, two of
 which conflict with existing Mutt macros.

 The simplest fix would be to rename those macros in Mutt, however this
 will cause difficulty with out-of-tree patches.  This fix creates a
 wrapper include file that preserves those existing macros and prevents
 the Solaris values from entering Mutt's namespace.
 }}}

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3833#comment:6>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to