removed glib dependencies from win32
authorAndreas Umbach <umbach@gmail.com>
Mon, 30 Jul 2001 14:41:42 +0000 (14:41 +0000)
committerAndreas Umbach <umbach@gmail.com>
Mon, 30 Jul 2001 14:41:42 +0000 (14:41 +0000)
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

index db78865..12a8d37 100644 (file)
@@ -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
 
 /*