Changeset e3cab3 in git for Singular/fglmzero.cc


Ignore:
Timestamp:
Apr 8, 1998, 2:14:07 PM (26 years ago)
Author:
Wilfred Pohl <pohl@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
41e149d29e021987bb189509b26919708bad6e45
Parents:
99cfcba795ebe458e864dea1374dafda993d2601
Message:
substitute macintosh by __MWERKS__


git-svn-id: file:///usr/local/Singular/svn/trunk@1359 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/fglmzero.cc

    r99cfcba re3cab3  
    11// emacs edit mode for this file is -*- C++ -*-
    2 // $Id: fglmzero.cc,v 1.12 1998-01-27 14:49:15 pohl Exp $
     2// $Id: fglmzero.cc,v 1.13 1998-04-08 12:14:07 pohl Exp $
    33
    44/****************************************
     
    3636// assumes, that NOSTREAMIO is set in factoryconf.h, which is included
    3737// by templates/list.h.
    38 #ifdef macintosh
    39 #include <:templates:ftmpl_list.h>
    40 #else
    4138#include <templates/ftmpl_list.h>
    42 #endif
    4339#define PROT(msg)
    4440#define STICKYPROT(msg) if (BTEST1(OPT_PROT)) Print(msg)
     
    295291    borderElem( poly p, fglmVector n ) : monom( p ), nf( n ) {}
    296292    ~borderElem() { pDelete1( &monom ); }
    297 #ifdef macintosh
     293#ifdef __MWERKS__
    298294    void insertElem( poly p, fglmVector n )
    299295    {
     
    374370    borderMax= borderBS;
    375371    borderSize= 0;
    376 #ifdef macintosh
     372#ifdef __MWERKS__
    377373    border= new borderElem[ borderMax ];
    378374#else
     
    388384        pDelete1( basis + k );  //. rem: basis runs from basis[1]..basis[basisSize]
    389385    Free( (ADDRESS)basis, basisMax*sizeof( poly ) );
    390 #ifdef macintosh
     386#ifdef __MWERKS__
    391387    delete [] border;
    392388#else
     
    424420    borderSize++;
    425421    if ( borderSize == borderMax ) {
    426 #ifdef macintosh
     422#ifdef __MWERKS__
    427423        borderElem * tempborder = new borderElem[ borderMax+borderBS ];
    428424        for ( int k = 0; k < borderMax; k++ ) {
     
    437433        borderMax+= borderBS;
    438434    }
    439 #ifdef macintosh
     435#ifdef __MWERKS__
    440436    border[borderSize].insertElem( m, v );
    441437#else
     
    678674    number fac;
    679675
    680 #ifdef macintosh
     676#ifdef __MWERKS__
    681677    oldGaussElem() : v(), p(), pdenom( NULL ), fac( NULL ) {}
    682678#endif
     
    687683    }
    688684    ~oldGaussElem();
    689 #ifdef macintosh
     685#ifdef __MWERKS__
    690686    void insertElem( const fglmVector newv, const fglmVector newp, number & newpdenom, number & newfac )
    691687    {
     
    746742    basisSize= 0;
    747743    //. All arrays run from [1]..[dimen], thus Alloc( dimen + 1 )!
    748 #ifdef macintosh
     744#ifdef __MWERKS__
    749745    gauss= new oldGaussElem[ dimen+1 ];
    750746#else
     
    764760    fglmASSERT( dimen == basisSize, "Es wurden nicht alle BasisElemente gefunden!" );
    765761    int k;
    766 #ifdef macintosh
     762#ifdef __MWERKS__
    767763    delete [] gauss;
    768764#else
     
    817813   
    818814    pivot= nCopy( v.getconstelem( pivotcol ) );
    819 #ifdef macintosh
     815#ifdef __MWERKS__
    820816    gauss[basisSize].insertElem( v, p, denom, pivot );
    821817#else
Note: See TracChangeset for help on using the changeset viewer.