libsdl-org / SDL_net

A simple, cross-platform wrapper over TCP/IP sockets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDL_net build support for MingW32CE

SDLBugzilla opened this issue · comments

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 1.2.7
Reported for operating system, platform: Linux, Other

Comments on the original bug report:

On 2010-02-13 14:03:08 +0000, Simon Howard wrote:

Created attachment 491
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.

On 2011-02-17 12:45:35 +0000, Sam Lantinga wrote:

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!

On 2011-02-17 14:10:21 +0000, Simon Howard wrote:

Yes.

On 2011-02-17 14:19:26 +0000, Sam Lantinga wrote:

Thanks, your fix is in!
http://hg.libsdl.org/SDL_net/rev/0a0a3d684302