From b303b5b50b41e2182ce6727e715ffe4add9a6b8f Mon Sep 17 00:00:00 2001 From: andi75 Date: Mon, 30 Jul 2001 14:41:42 +0000 Subject: [PATCH] removed glib dependencies from win32 git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@15 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/include/GL/freeglut_internal.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/freeglut/freeglut/include/GL/freeglut_internal.h b/freeglut/freeglut/include/GL/freeglut_internal.h index db78865..12a8d37 100644 --- a/freeglut/freeglut/include/GL/freeglut_internal.h +++ b/freeglut/freeglut/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 /*