Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MinGW Compile fix #329

Merged
merged 25 commits into from
Jul 30, 2019
Merged

MinGW Compile fix #329

merged 25 commits into from
Jul 30, 2019

Conversation

weinrank
Copy link
Contributor

(Hopefully) solves #276

msbroadf and others added 24 commits June 18, 2017 20:14
When an ICMP message is received on Windows 10 for a UDP socket,
WSAECONNRESET is reported as an error. In this case, just read
again.

Thanks to nxrighthere for reporting the issue and helping to
nail it down.

This fixes sctplab#309.
Two Links missed leading `http(s)://` and were broken.
All links to `tools.ietf.org` now consistently use https.
# Conflicts:
#	usrsctplib/netinet/sctp_usrreq.c
#	usrsctplib/netinet/sctputil.c
# Conflicts:
#	programs/ekr_loop.c
- Set minimum Windows Version to Windows 7
@weinrank weinrank mentioned this pull request Jul 29, 2019
@@ -6852,7 +6852,9 @@ sctp_pcb_init()
#endif
#if defined(__Userspace__)
mbuf_initialize(NULL);
#if !defined(__MINGW32__)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't insert an ifdef here. Let us call atomic_init() in any case for the userland stack.

Please replace in user_atomic.h

#if defined(__Userspace_os_Windows)
#if !defined(__MINGW32__)
static void atomic_init(void) {} /* empty when we are not using atomic_mtx */
#endif
#else
static inline void atomic_init(void) {} /* empty when we are not using atomic_mtx */
#endif

by

#if defined(__Userspace_os_Windows)
static void atomic_init(void) {} /* empty when we are not using atomic_mtx */
#else
static inline void atomic_init(void) {} /* empty when we are not using atomic_mtx */
#endif

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@tuexen tuexen merged commit 2718a59 into sctplab:master Jul 30, 2019
@weinrank weinrank deleted the mingw branch January 31, 2020 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants