SDL_config_win32.h missing #endif (patch included)

Hello,

Since I’ve not looked at SDL 1.3 for a long time I thought I’d try
compiling it under Win32 and see how far I got.

I noticed that SDL_config_win32.h has a missing #endif, so I created a
patch (attached).

To help make the many preprocessor directives easier to debug, I added
some spaces to indent the keywords. These spaces can of course be
deleted if required to keep the source in line with the rest of the
library’s style.

After those changes, SDL and SDLmain compile without errors or
warnings under Visual C++ 2005 Express.

Hope this helps,

Pete
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_config_win32.diff
Type: application/octet-stream
Size: 5312 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070628/eeae21ff/attachment.obj

I noticed that SDL_config_win32.h has a missing #endif, so I created a
patch (attached).

Crap, that was my mistake. Sorry about that.

Fixed in svn revision #3116.

Thanks!

–ryan.

Fixed in svn revision #3116.

Thanks!

–ryan.

No problem. Glad to help.

I tried running a couple of examples, but noticed that video
initialisation was failing because no displays were found/added. I
figured it was still in development and didn’t debug it further than
that.

Good luck,

Pete