Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/driver/cfa.cc

    rde62360d r1db21619  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jun 23 17:47:03 2015
    13 // Update Count     : 119
     12// Last Modified On : Thu Jul 16 17:09:23 2015
     13// Update Count     : 124
    1414//
    1515
     
    5252        string Version( VERSION );                                                      // current version number from CONFIG
    5353        string Major( "0" ), Minor( "0" ), Patch( "0" );        // default version numbers
     54
    5455        int posn1 = Version.find( "." );                                        // find the divider between major and minor version numbers
    5556        if ( posn1 == -1 ) {                                                            // not there ?
     
    256257        // add the correct set of flags based on the type of compile this is
    257258
    258         args[nargs] = ( *new string( string("-D__CFA_MAJOR__=") + Major ) ).c_str();
     259        args[nargs] = ( *new string( string("-D__CFA__=") + Major ) ).c_str();
    259260        nargs += 1;
    260261        args[nargs] = ( *new string( string("-D__CFA_MINOR__=") + Minor ) ).c_str();
     262        nargs += 1;
     263        args[nargs] = ( *new string( string("-D__CFA_PATCHLEVEL__=") + Patch ) ).c_str();
    261264        nargs += 1;
    262265
Note: See TracChangeset for help on using the changeset viewer.