From 5e37b24cdd4dc8bd98922ef77b90e69c64c88f1d Mon Sep 17 00:00:00 2001 From: curt Date: Sat, 12 Jul 1997 03:50:20 +0000 Subject: [PATCH] Added an #include to help compiling for Win32 --- Main/GLUTkey.c | 11 +++++++++-- Main/GLmain.c | 12 +++++++++--- Main/mesh2GL.c | 11 +++++++++-- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/Main/GLUTkey.c b/Main/GLUTkey.c index 84c86f36d..27afa6176 100644 --- a/Main/GLUTkey.c +++ b/Main/GLUTkey.c @@ -27,6 +27,10 @@ #include #include +#ifdef __CYGWIN32__ +# include +#endif + #include #include "GLUTkey.h" @@ -156,9 +160,12 @@ void GLUTspecialkey(int k, int x, int y) { /* $Log$ -/* Revision 1.13 1997/06/25 15:39:46 curt -/* Minor changes to compile with rsxnt/win32. +/* Revision 1.14 1997/07/12 03:50:20 curt +/* Added an #include to help compiling for Win32 /* + * Revision 1.13 1997/06/25 15:39:46 curt + * Minor changes to compile with rsxnt/win32. + * * Revision 1.12 1997/06/21 17:12:52 curt * Capitalized subdirectory names. * diff --git a/Main/GLmain.c b/Main/GLmain.c index d299528c7..10d5d40da 100644 --- a/Main/GLmain.c +++ b/Main/GLmain.c @@ -28,6 +28,9 @@ #include #include +#ifdef __CYGWIN32__ +# include +#endif #ifdef GLUT #include @@ -612,10 +615,13 @@ int main( int argc, char *argv[] ) { /* $Log$ -/* Revision 1.32 1997/07/11 03:23:18 curt -/* Solved some scenery display/orientation problems. Still have a positioning -/* (or transformation?) problem. +/* Revision 1.33 1997/07/12 03:50:20 curt +/* Added an #include to help compiling for Win32 /* + * Revision 1.32 1997/07/11 03:23:18 curt + * Solved some scenery display/orientation problems. Still have a positioning + * (or transformation?) problem. + * * Revision 1.31 1997/07/11 01:29:58 curt * More tweaking of terrian floor. * diff --git a/Main/mesh2GL.c b/Main/mesh2GL.c index 4b2d47265..b6f7106ca 100644 --- a/Main/mesh2GL.c +++ b/Main/mesh2GL.c @@ -24,6 +24,10 @@ **************************************************************************/ +#ifdef __CYGWIN32__ +# include +#endif + #include #include "../constants.h" @@ -172,9 +176,12 @@ GLint mesh2GL(struct mesh *m) { /* $Log$ -/* Revision 1.31 1997/07/12 02:27:07 curt -/* Looking at potential scenery transformation/coordinate system problems. +/* Revision 1.32 1997/07/12 03:50:21 curt +/* Added an #include to help compiling for Win32 /* + * Revision 1.31 1997/07/12 02:27:07 curt + * Looking at potential scenery transformation/coordinate system problems. + * * Revision 1.30 1997/07/11 03:23:18 curt * Solved some scenery display/orientation problems. Still have a positioning * (or transformation?) problem. -- 2.39.2