Changeset 8f26a44 in git for kernel/test.cc


Ignore:
Timestamp:
Aug 5, 2013, 5:33:18 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
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
  • kernel/test.cc

    rce9bfe r8f26a44  
    611611int main( int, char *argv[] )
    612612{
     613  assume( sizeof(long) == SIZEOF_LONG );
     614
     615  if( sizeof(long) != SIZEOF_LONG )
     616  {
     617    WerrorS("Bad config.h: wrong size of long!");
     618
     619    return(1);
     620  }
     621   
     622   
    613623  feInitResources(argv[0]);
    614624
Note: See TracChangeset for help on using the changeset viewer.