From: <fa...@us...> - 2011-09-10 12:53:12
|
Revision: 938 http://freeglut.svn.sourceforge.net/freeglut/?rev=938&view=rev Author: fayjf Date: 2011-09-10 12:53:06 +0000 (Sat, 10 Sep 2011) Log Message: ----------- Fixing build warnings on OpenSUSE (and probably other Linux distros) by enclosing some function prototypes within an "ifdef" checking for Windows per e-mail from Johannes Obermayr dated 8/8/2011 at 1:05 PM (thank you, Johannes) Modified Paths: -------------- trunk/freeglut/freeglut/src/freeglut_internal.h Modified: trunk/freeglut/freeglut/src/freeglut_internal.h =================================================================== --- trunk/freeglut/freeglut/src/freeglut_internal.h 2011-09-05 17:26:30 UTC (rev 937) +++ trunk/freeglut/freeglut/src/freeglut_internal.h 2011-09-10 12:53:06 UTC (rev 938) @@ -932,6 +932,7 @@ void fgEnumSubWindows( SFG_Window* window, FGCBenumerator enumCallback, SFG_Enumerator* enumerator ); +#if TARGET_HOST_MS_WINDOWS /* * Helper functions for getting client area from the window rect * and the window rect from the client area given the style of the window @@ -942,6 +943,7 @@ void fghComputeClientAreaFromWindowRect ( const SFG_Window *window, RECT *windowRect, BOOL wantPosOutside ); RECT fghGetClientArea ( const SFG_Window *window, BOOL wantPosOutside ); void fghGetBorderWidth(const DWORD windowStyle, int* xBorderWidth, int* yBorderWidth); +#endif /* * fgWindowByHandle returns a (SFG_Window *) value pointing to the This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |