]> git.mxchange.org Git - flightgear.git/commitdiff
Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
authorcurt <curt>
Mon, 2 Nov 1998 18:25:34 +0000 (18:25 +0000)
committercurt <curt>
Mon, 2 Nov 1998 18:25:34 +0000 (18:25 +0000)
Other misc. tweaks.

Airports/simple.hxx
Joystick/js.cxx
Main/GLUTkey.cxx
Time/fg_time.cxx

index dd2399b0fa2ee703016afdeb91892bdce631d3df..96faba2c296fec92d4542b155ee3dd07a238e164 100644 (file)
@@ -70,7 +70,7 @@ operator >> ( istream& in, fgAIRPORT& a )
 
 class fgAIRPORTS {
 public:
-#ifdef _FG_NO_DEFAULT_TEMPLATE_ARGS
+#ifdef FG_NO_DEFAULT_TEMPLATE_ARGS
     typedef set< fgAIRPORT, less< fgAIRPORT > > container;
 #else
     typedef set< fgAIRPORT > container;
@@ -105,6 +105,10 @@ public:
 
 
 // $Log$
+// Revision 1.5  1998/11/02 18:25:34  curt
+// Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
+// Other misc. tweaks.
+//
 // Revision 1.4  1998/09/08 21:38:43  curt
 // Changes by Bernie Bright.
 //
index d81ec696d8458e0c6ffa5627d90dfa33d0075030..8f25dec825af61128aef7502c29981bda1ea683f 100644 (file)
@@ -1,5 +1,5 @@
 
-#include "js.h"
+#include "js.hxx"
 
 jsJoystick js0 ( 0 ) ;
 jsJoystick js1 ( 1 ) ;
index 85b6969bfdf5064c91e6f9f2917fe9b0bee67f14..21d5461f0cf3a423bdf0027a54478e3253454ced 100644 (file)
@@ -272,10 +272,8 @@ void GLUTkey(unsigned char k, int x, int y) {
 
 // Handle "special" keyboard events
 void GLUTspecialkey(int k, int x, int y) {
-    fgCONTROLS *c;
     fgVIEW *v;
 
-    c = current_aircraft.controls;
     v = &current_view;
 
     fgPrintf( FG_INPUT, FG_DEBUG, "Special key hit = %d", k);
@@ -389,6 +387,10 @@ void GLUTspecialkey(int k, int x, int y) {
 
 
 // $Log$
+// Revision 1.31  1998/11/02 18:25:37  curt
+// Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
+// Other misc. tweaks.
+//
 // Revision 1.30  1998/10/25 14:08:46  curt
 // Turned "struct fgCONTROLS" into a class, with inlined accessor functions.
 //
index 4cdb20c761d077a648899ace092eba9b71e28ae5..0fe810bd3091467dd2bd649af61b68b61dfb52b9 100644 (file)
@@ -44,7 +44,7 @@
 
 #ifdef  WIN32
 #  include <windows.h>
-#  ifdef __CYGWIN32__
+#  if defined( __CYGWIN__ ) || defined( __CYGWIN32__ )
 #    define NEAR /* */
 #    define FAR  /* */
 #  endif
@@ -448,6 +448,10 @@ void fgTimeUpdate(fgFLIGHT *f, fgTIME *t) {
 
 
 // $Log$
+// Revision 1.20  1998/11/02 18:25:38  curt
+// Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
+// Other misc. tweaks.
+//
 // Revision 1.19  1998/10/17 01:34:29  curt
 // C++ ifying ...
 //