summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-03-22 16:01:21 +0000
committerBrian Paul <[email protected]>2000-03-22 16:01:21 +0000
commit42ad53f67eb88a91c4cfe51a66a828c1aecc05f4 (patch)
tree5bd482d614f85fc74f2b835389533887a0e0ca9a
parent9b8094a663f08b50f01e3bcce8d22e4415b253e4 (diff)
fixed Cygwin patch typos
-rw-r--r--src/glut/glx/glut_joy.c2
-rw-r--r--src/glut/glx/glutint.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glut/glx/glut_joy.c b/src/glut/glx/glut_joy.c
index a6f54f4a6a1..116f0328448 100644
--- a/src/glut/glx/glut_joy.c
+++ b/src/glut/glx/glut_joy.c
@@ -7,7 +7,7 @@
#ifdef _WIN32
#include <windows.h>
-#ifndef __CYGWIN32
+#ifndef __CYGWIN32__
#include <mmsystem.h> /* Win32 Multimedia API header. */
#endif
#endif
diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h
index 6c825819c09..7849a01acd5 100644
--- a/src/glut/glx/glutint.h
+++ b/src/glut/glx/glutint.h
@@ -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>