]> git.mxchange.org Git - flightgear.git/commitdiff
MACOS -> macintosh
authorcurt <curt>
Sun, 10 Sep 2000 00:04:50 +0000 (00:04 +0000)
committercurt <curt>
Sun, 10 Sep 2000 00:04:50 +0000 (00:04 +0000)
13 files changed:
src/FDM/UIUCModel/uiuc_aircraft.h
src/Main/fg_init.cxx
src/Main/main.cxx
src/Main/options.cxx
src/Objects/obj.cxx
src/Scenery/tilecache.cxx
src/Scenery/tileentry.cxx
src/Time/moonpos.hxx
src/Time/sunpos.cxx
src/Time/timestamp.hxx
src/WeatherCM/FGLocalWeatherDatabase.cpp
src/WeatherCM/FGLocalWeatherDatabase.h
src/WeatherCM/sphrintp.h

index 7fb4cc2c0505cf4929101ce2b296432f333a37c9..b05a970cfc65986ad0c86b2f2f7ae0060afe7102 100644 (file)
 
 FG_USING_STD(map);
 FG_USING_STD(iostream);
-#if defined ( MACOS ) || defined ( _MSC_VER )
+#if defined ( macintosh ) || defined ( _MSC_VER )
 FG_USING_STD(ofstream);
 #endif
 
index 50e46c70e0950cf51dc8e6fe003111264371b2f4..64f96e26d466621220078b75cb49d04ea4dff219 100644 (file)
@@ -695,7 +695,7 @@ bool fgInitSubsystems( void ) {
     NewAltitudeInit();
 
     // Initialize I/O channels
-#if ! defined( MACOS )
+#if ! defined( macintosh )
     fgIOInit();
 #endif
 
index f49f3373e051e5a3919335d6b8a3b878ea1bb23d..626c85f7ec0785aa569727d384835b44e284d957 100644 (file)
 
 
 // -dw- use custom sioux settings so I can see output window
-#ifdef MACOS
+#ifdef macintosh
 #  ifndef FG_NDEBUG
 #    include <sioux.h> // settings for output window
 #  endif
@@ -874,7 +874,7 @@ static void fgMainLoop( void ) {
        }
     }
 
-#if ! defined( MACOS )
+#if ! defined( macintosh )
     // Do any I/O channel work that might need to be done
     fgIOProcess();
 #endif
@@ -1152,7 +1152,7 @@ void fgReshape( int width, int height ) {
 // Initialize GLUT and define a main window
 int fgGlutInit( int *argc, char **argv ) {
 
-#if !defined( MACOS )
+#if !defined( macintosh )
     // GLUT will extract all glut specific options so later on we only
     // need wory about our own.
     glutInit(argc, argv);
@@ -1265,7 +1265,7 @@ int fgGlutInitEvents( void ) {
 // Main ...
 int main( int argc, char **argv ) {
 
-#if defined( MACOS )
+#if defined( macintosh )
     freopen ("stdout.txt", "w", stdout );
     freopen ("stderr.txt", "w", stderr );
     argc = ccommand( &argv );
index b96105b020ddc79e952f9b3a82fd6320a544858a..30800f5890618874f54df4a8cf01b8c941c479c8 100644 (file)
@@ -214,7 +214,7 @@ fgOPTIONS::fgOPTIONS() :
 
 #if defined( WIN32 )
        fg_root = "\\FlightGear";
-#elif defined( MACOS )
+#elif defined( macintosh )
        fg_root = "";
 #else
        fg_root = PKGLIBDIR;
@@ -899,7 +899,7 @@ int fgOPTIONS::parse_config_file( const string& path ) {
 
 #ifdef GETLINE_NEEDS_TERMINATOR
         getline( in, line, '\n' );
-#elif defined (MACOS)
+#elif defined( macintosh )
        getline( in, line, '\r' );
 #else
         getline( in, line );
index 33a7ccbcfa3a8d645ed308f3d8d7d8af6ac74ece..2f7cef034e3c53ab4655e2ccf45183b0702ec221 100644 (file)
@@ -338,7 +338,7 @@ ssgBranch *fgObjLoad( const string& path, FGTileEntry *t, const bool is_base) {
     while ( ! in.eof() ) {
 #endif
 
-#if defined( MACOS )
+#if defined( macintosh )
        in >> ::skipws;
 #else
        in >> skipws;
@@ -572,7 +572,7 @@ ssgBranch *fgObjLoad( const string& path, FGTileEntry *t, const bool is_base) {
                
                // read all subsequent numbers until next thing isn't a number
                while ( true ) {
-#if defined( MACOS )
+#if defined( macintosh )
                    in >> ::skipws;
 #else
                    in >> skipws;
@@ -673,7 +673,7 @@ ssgBranch *fgObjLoad( const string& path, FGTileEntry *t, const bool is_base) {
 
            // eat white space before start of while loop so if we are
            // done with useful input it is noticed before hand.
-#if defined( MACOS )
+#if defined( macintosh )
            in >> ::skipws;
 #else
            in >> skipws;
index 1bca11ee345213c08dcf8213f5894f1d014777c8..db2d98c6ec1cbbb9b2573e8f68dbef728dd615d2 100644 (file)
@@ -205,7 +205,7 @@ FGTileCache::fill_in( int index, const FGBucket& p )
        while ( ! in.eof() ) {
            in >> token;
            in >> name;
-#if defined ( MACOS ) || defined ( _MSC_VER )
+#if defined ( macintosh ) || defined ( _MSC_VER )
            in >> ::skipws;
 #else
            in >> skipws;
index 05a7eb1ae51ed62351bac9aaf0340b7d607d146f..573a5234658aeb6227b6b62fb26c7da1e3c148cc 100644 (file)
@@ -94,7 +94,7 @@ void FGTileEntry::free_tile() {
            << " texture coordinate arrays" );
 
     for ( i = 0; i < (int)vec3_ptrs.size(); ++i ) {
-#ifdef MACOS
+#ifdef macintosh
        delete [] vec3_ptrs[i];
 #else
        delete vec3_ptrs[i];
@@ -103,7 +103,7 @@ void FGTileEntry::free_tile() {
     vec3_ptrs.clear();
 
     for ( i = 0; i < (int)vec2_ptrs.size(); ++i ) {
-#ifdef MACOS
+#ifdef macintosh
        delete [] vec2_ptrs[i];
 #else
        delete vec2_ptrs[i];
index 5c04315f64acf053c3ace36da199b0edac962c88..65e544ac2cbfabc22d831d6096d3413afb903661 100644 (file)
@@ -48,7 +48,7 @@
 
 #ifdef FG_HAVE_STD_INCLUDES
 #  include <ctime>
-#  ifdef MACOS
+#  ifdef macintosh
      FG_USING_STD(time_t);
 #  endif
 #else
index c22f57f2abc91308f4f44a09867b2aaa7f22220f..f7939095767c1a2f64eb43cf1e732b7e88b25c4e 100644 (file)
@@ -44,7 +44,7 @@
 #  include <cmath>
 #  include <cstdio>
 #  include <ctime>
-#  ifdef MACOS
+#  ifdef macintosh
      FG_USING_STD(time_t);
 #  endif
 #else
index 1a50c78847e53c9baa7da21c8c362838bc5c84c7..563b8f43f5fe510286cec8315b09a0e299b8c803 100644 (file)
@@ -57,7 +57,7 @@
 #endif
 
 // -dw- want to use metrowerks time.h
-#ifdef MACOS
+#ifdef macintosh
 #  include <time.h>
 #  include <timer.h>
 #endif
@@ -143,7 +143,7 @@ inline void FGTimeStamp::stamp() {
     seconds = current.time;
     usec = current.millitm * 1000;
 // -dw- uses time manager
-#elif defined( MACOS )
+#elif defined( macintosh )
     UnsignedWide ms;
     Microseconds(&ms);
        
index da85deea137eda0e9db06927520242782d5440c4..a2fbe0bd239703f14489032de6bc3094f025bc3e 100644 (file)
@@ -205,7 +205,7 @@ FGPhysicalProperty FGLocalWeatherDatabase::get(const sgVec3& p) const
     return FGPhysicalProperty(database->Evaluate(p), p[3]);
 }
 
-#ifdef MACOS
+#ifdef macintosh
     /* fix a problem with mw compilers in that they don't know the
        difference between the next two methods. Since the first one
        doesn't seem to be used anywhere, I commented it out. This is
index 8dd8aeeb642267149e9287d4bebc5effb4e71717..213f07d18844bab4a5d7a659f5bfb714555200e0 100644 (file)
@@ -164,7 +164,7 @@ public:
     /************************************************************************/
     /* Get the physical properties on the specified point p                */
     /************************************************************************/
-#ifdef MACOS
+#ifdef macintosh
     /* fix a problem with mw compilers in that they don't know the
        difference between the next two methods. Since the first one
        doesn't seem to be used anywhere, I commented it out. This is
index 78ab4bd4736d2059b34545656aa9ffa63282d3db..e5debcab7995837d6d153f30318552dbfa4e409d 100644 (file)
@@ -51,7 +51,7 @@ public:
     int Evaluate (const double x, const double y, const double z, T& f) const;
     int Evaluate (const double thetaAngle, const double phiAngle, T& f) const;
 
-#ifndef MACOS
+#ifndef macintosh
     // CodeWarrior doesn't know the differece between sgVec2 and
     // sgVec3, so I commented this out for Mac builds. This change is
     // related to a similar change in FGLocalWeatherDatabase module.