Putting in Diederick Niehorster's patch from e-mail dated 1/23/12 at 6:48 AM to fix...
[freeglut] / src / mswin / freeglut_window_mswin.c
index fe93985..655820f 100644 (file)
@@ -90,6 +90,11 @@ extern int fghIsLegacyContextRequested( void );
 extern void fghContextCreationError( void );\r
 extern int fghNumberOfAuxBuffersRequested( void );\r
 \r
+#ifdef WM_TOUCH\r
+typedef BOOL (WINAPI *pRegisterTouchWindow)(HWND,ULONG);\r
+static pRegisterTouchWindow fghRegisterTouchWindow = (pRegisterTouchWindow)0xDEADBEEF;\r
+#endif\r
+\r
 \r
 /*\r
  * Setup the pixel format for a Win32 window\r