We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 949

Summary: SDL_net build support for MingW32CE
Product: SDL_net Reporter: Simon Howard <fraggle+libsdl>
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 1.2.7   
Hardware: Other   
OS: Linux   
Attachments: Patch against SDL_net 1.2.7 to add MingW32CE build support.

Description Simon Howard 2010-02-13 14:03:08 UTC
Created attachment 491 [details]
Patch against SDL_net 1.2.7 to add MingW32CE build support.

Hi,

Following bug 947, this is a patch against SDL_net v1.2.7 to add MingW32CE build support.

Some notes:

1. Windows CE doesn't have errno.  I've replaced use of errno with wrapper macros SDLNet_GetLastError and SDLNet_SetLastError.  On "normal" Windows these wrap errno, on Windows CE they wrap the WSAGetLastError and WSASetLastError.
2. Winsock libraries have different DLL names on Windows CE.
Comment 1 Sam Lantinga 2011-02-17 12:45:35 UTC
I'm looking at the possibility of bundling SDL_net with the commercial
license option for SDL 1.3.

Do you give me permission to release your contributions to SDL_net
under both the LGPL and a closed-source commercial license?

Thanks!
Comment 2 Simon Howard 2011-02-17 14:10:21 UTC
Yes.
Comment 3 Sam Lantinga 2011-02-17 14:19:26 UTC
Thanks, your fix is in!
http://hg.libsdl.org/SDL_net/rev/0a0a3d684302