From 1813c258e8c562af91e2d823c818e3c1b3ad3c6a Mon Sep 17 00:00:00 2001 From: Andreas Umbach Date: Mon, 30 Jul 2001 14:41:42 +0000 Subject: [PATCH] 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 --- include/GL/freeglut_internal.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 /* -- 1.7.10.4