SDL_config_minimal.h redefines size_t

Hi,
We are using the SDL version 1.2.14. We are getting error if we include stdio.h. This is because SDL_config_minimal.h redefines size_t defined in stddef.h (indirectly included when we include stdio.h). After a lot of searching I landed upon the fix made to SDL_config_minimal.h (http://hg.libsdl.org/SDL/rev/6290f9bd097d). This fix was made in 2nd August 2009. But this fix is not included in the release 1.2.14 (http://hg.libsdl.org/SDL/file/f14cf9d71233/include/SDL_config_minimal.h) which was made on 20th October 2009 or even in the newer 1.2.15 release.
I tried to see the version of the file SDL_config_minimal.h in the url http://hg.libsdl.org/SDL/log/f3dbef2cc0f2/include/SDL_config_minimal.h. But I was not able to find the revision after 2009/08/02 where the fix was removed. If the fix was removed intentionally, would you let me know the implecation resulted in removing the fix.

Am I missing something here? Can you help me to fix the redefinition issue?

I use 1.2.13 and it works fine. I’d just use that till you get a resolve on
the issue.On Mon, Jan 30, 2012 at 11:42 PM, tllgakk wrote:

**
Hi,
We are using the SDL version 1.2.14. We are getting error if we include
stdio.h. This is because SDL_config_minimal.h redefines size_t defined in
stddef.h (indirectly included when we include stdio.h). After a lot of
searching I landed upon the fix made to SDL_config_minimal.h (
http://hg.libsdl.org/SDL/rev/6290f9bd097d). This fix was made in 2nd
August 2009. But this fix is not included in the release 1.2.14 (
http://hg.libsdl.org/SDL/file/f14cf9d71233/include/SDL_config_minimal.h)
which was made on 20th October 2009 or even in the newer 1.2.15 release.
I tried to see the version of the file SDL_config_minimal.h in the url
http://hg.libsdl.org/SDL/log/f3dbef2cc0f2/include/SDL_config_minimal.h.
But I was not able to find the revision after 2009/08/02 where the fix was
removed. If the fix was removed intentionally, would you let me know the
implecation resulted in removing the fix.

Am I missing something here? Can you help me to fix the redefinition issue?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org