From: Andreas Umbach Date: Mon, 30 Jul 2001 14:41:42 +0000 (+0000) Subject: removed glib dependencies from win32 X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=1813c258e8c562af91e2d823c818e3c1b3ad3c6a;p=freeglut removed glib dependencies from win32 git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@15 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/include/GL/freeglut_internal.h b/include/GL/freeglut_internal.h index db78865..12a8d37 100644 --- a/include/GL/freeglut_internal.h +++ b/include/GL/freeglut_internal.h @@ -179,7 +179,11 @@ struct tagSFG_XYUse typedef struct tagSFG_Time SFG_Time; struct tagSFG_Time { +#ifdef WIN32 + DWORD Value; +#else struct timeval Value; +#endif GLboolean Set; }; @@ -512,7 +516,7 @@ XVisualInfo* fgChooseVisual( void ); */ #if TARGET_HOST_WIN32 LRESULT CALLBACK fgWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ); -gboolean fgSetupPixelFormat( SFG_Window* window, gboolean checkOnly ); +GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly ); #endif /*