summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/win32_winproc.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-03-20 19:26:01 +0000
committerBrian Paul <[email protected]>2000-03-20 19:26:01 +0000
commit66ae25078ef01bcfa2e9eb1ccdbbb5f038c71179 (patch)
tree1f150bd3ec81ad3e6492f8ba5dd2a27f9a057e4e /src/glut/glx/win32_winproc.c
parentf7b5707d66678f09bec652ecce024a0da6cc4a4b (diff)
patched for Cygwin (Sven Panne)
Diffstat (limited to 'src/glut/glx/win32_winproc.c')
-rw-r--r--src/glut/glx/win32_winproc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/glut/glx/win32_winproc.c b/src/glut/glx/win32_winproc.c
index 2607a205cd6..945b7eb9ca9 100644
--- a/src/glut/glx/win32_winproc.c
+++ b/src/glut/glx/win32_winproc.c
@@ -8,13 +8,9 @@
#include "glutint.h"
-#if defined(__CYGWIN32__)
-typedef MINMAXINFO* LPMINMAXINFO;
-#else
#include <sys/timeb.h>
-#endif
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN32__)
#include <mmsystem.h> /* Win32 Multimedia API header. */
#endif