fixed Cygwin patch typos
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 22 Mar 2000 16:01:21 +0000 (16:01 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 22 Mar 2000 16:01:21 +0000 (16:01 +0000)
src/glut/glx/glut_joy.c
src/glut/glx/glutint.h

index a6f54f4a6a1a536c9a01f3925c70707daa4407fe..116f0328448489f072bf22bdf6cdbf4b0afce9ae 100644 (file)
@@ -7,7 +7,7 @@
 
 #ifdef _WIN32
 #include <windows.h>
-#ifndef __CYGWIN32
+#ifndef __CYGWIN32__
 #include <mmsystem.h>  /* Win32 Multimedia API header. */
 #endif
 #endif
index 6c825819c09495291045ba1661051cc57b0fe4c8..7849a01acd533dc4baf33cbcd77357f31d6cade7 100644 (file)
@@ -71,7 +71,7 @@ extern int sys$gettim(struct timeval *);
 #endif
 #else
 #include <sys/types.h>
-#if !defined(_WIN32)
+#if !defined(_WIN32) || defined(__CYGWIN32__)
 #include <sys/time.h>
 #else
 #include <winsock.h>