Changeset 8f26a44 in git for Singular/test.cc


Ignore:
Timestamp:
Aug 5, 2013, 5:33:18 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
60ff027fe2f1d52fb364602595ca246476a5d2dc
Parents:
ce9bfe4db5a16a3879122ddef6492a0b970949cb
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-08-05 17:33:18+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-08-12 12:19:32+02:00
Message:
Assure that config.h was generated on 'compatible' cpu (same size of long)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/test.cc

    rce9bfe r8f26a44  
    236236int main( int, char *argv[] )
    237237{
    238   // init path names etc.
     238  assume( sizeof(long) == SIZEOF_LONG );
     239   
     240  if( sizeof(long) != SIZEOF_LONG )
     241  {
     242     WerrorS("Bad config.h: wrong size of long!");
     243     
     244     return(1);
     245  }
     246   
     247
     248   
     249   // init path names etc.
    239250//  feInitResources(argv[0]); //???
    240251  siInit(argv[0]); // ?
Note: See TracChangeset for help on using the changeset viewer.