[Plib-devel] Patch for puSDL.h
Brought to you by:
sjbaker
From: Jan R. <slo...@gm...> - 2007-11-18 20:23:14
|
Hello, I just noticed a small inconvenience in puSDL.h: this file includes <SDL/SDL.h> instead of "SDL.h" (which is recommended by the libSDL FAQ, see http://www.libsdl.org/faq.php?action=listentries&category=2#19 ). This causes problems if the path to the SDL directory is not contained in the preprocessor's include path. For example, on Windows/MinGW, /usr/include is not by default included in the search patch, and `sdl-config --cflags` will report "/usr/include/SDL", so including <SDL/SDL.h> will fail. Same applies if you keep a development copy of SDL in some non-standard directory. The attached trivial patch fixes this issue. Kind regards, Jan R. -- Jan Reucker email: jan dot reucker at web dot de web: http://www.reucker-online.de |