Closed
Bug 1295032
Opened 8 years ago
Closed 7 years ago
Remove definition of error numbers in portable.h for Windows.
Categories
(MailNews Core :: LDAP Integration, defect)
Tracking
(thunderbird55 fixed, seamonkey2.52 fixed)
RESOLVED
FIXED
Thunderbird 55.0
People
(Reporter: frg, Assigned: frg)
Details
Attachments
(1 file)
886 bytes,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
portable.h defines the following error numbers on Windows which result in a Macro redefinision warning during compile because they are in errno.h since VS2010: #define EMSGSIZE WSAEMSGSIZE #define EWOULDBLOCK WSAEWOULDBLOCK #define EHOSTUNREACH WSAEHOSTUNREACH I believe the definition can just be removed.
Assignee | ||
Comment 1•8 years ago
|
||
Simple patch. Suite compiles with it but unable to test because no ldap in the house.
Comment 2•7 years ago
|
||
Comment on attachment 8780917 [details] [diff] [review] 1295032-errno.patch For me, LDAP gives 500.000 compile warnings, with this patch there are a few less ;-) I don't fully understand this business here, see for example: https://dxr.mozilla.org/comm-central/search?q=EWOULDBLOCK&redirect=false which is also defined to 35 a few times. Anyway, let's see how we go with this.
Attachment #8780917 -
Flags: review?(Pidgeot18) → review+
Assignee | ||
Comment 3•7 years ago
|
||
https://hg.mozilla.org/comm-central/rev/d6892a4d5a3b27319550ab99c20d0cbf8bc334a8
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-seamonkey2.52:
--- → fixed
status-thunderbird55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 55.0
You need to log in
before you can comment on or make changes to this bug.
Description
•