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 - SDL_net build support for MingW32CE
Summary: SDL_net build support for MingW32CE
Status: RESOLVED FIXED
Alias: None
Product: SDL_net
Classification: Unclassified
Component: misc (show other bugs)
Version: 1.2.7
Hardware: Other Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-13 14:03 UTC by Simon Howard
Modified: 2011-02-17 14:19 UTC (History)
0 users

See Also:


Attachments
Patch against SDL_net 1.2.7 to add MingW32CE build support. (4.16 KB, patch)
2010-02-13 14:03 UTC, Simon Howard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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