Re: [Plib-devel] Patch for puSDL.h
Brought to you by:
sjbaker
From: John F. F. <joh...@cy...> - 2007-11-18 21:47:48
|
Done. - John F. Fay -----Original Message----- From: Jan Reucker Sent: Sunday, November 18, 2007 2:23 PM To: pli...@li... Subject: [Plib-devel] Patch for puSDL.h 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 << File: puSDL_h_include_patch.diff >> << File: ATT00005.txt >> << File: ATT00006.txt >> |