Fix to unbreak SDL_GetSystemRAM() on FreeBSD

Revision c47ae79f0de8 of the SDL hg repo introduces the new
SDL_GetSystemRAM() function, which breaks the build on FreeBSD. Find
attached a patch, which unbreaks the build and also should (for most
cases) properly implement the sysctl support it.

Cheers
Marcus
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_cpuinfo.c.patch
Type: text/x-diff
Size: 650 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20131017/7c66dce2/attachment.patch
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20131017/7c66dce2/attachment.pgp

Wow, that was fast, thanks!On Thu, Oct 17, 2013 at 2:10 PM, Marcus von Appen wrote:

Revision c47ae79f0de8 of the SDL hg repo introduces the new
SDL_GetSystemRAM() function, which breaks the build on FreeBSD. Find
attached a patch, which unbreaks the build and also should (for most
cases) properly implement the sysctl support it.

Cheers
Marcus


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