Ignore:
Timestamp:
2008-06-06T11:13:01+12:00 (16 years ago)
Author:
oranfry
Message:

change to search4j: using libraries and headers the proper way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/search4j/search4j.cpp

    r15690 r15892  
    144144            cout << foundJvm.getVersion() << endl;
    145145        } else if ( jvmProperty == Executable ) {
     146            #ifdef WINDOWS
    146147            if ( useJavaw ) {
    147148                cout << foundJvm.getWinExecutable() << endl;
     
    149150                cout << foundJvm.getExecutable() << endl;
    150151            }
     152            #else
     153            cout << foundJvm.getExecutable() << endl;
     154            #endif
    151155        } else {
    152156            return -1; //should never happen
     
    179183       
    180184        string cmd = "\"", output = "";
     185        #ifdef WINDOWS
    181186        if ( useJavaw ) {
    182187            cmd.append( foundJvm.getWinExecutable() );
     
    184189            cmd.append( foundJvm.getExecutable() );
    185190        }
     191        #else
     192        cmd.append( foundJvm.getExecutable() );
     193        #endif
    186194        cmd.append( "\" -jar " );
    187195        cmd.append( arg1 );
Note: See TracChangeset for help on using the changeset viewer.