]> git.donarmstrong.com Git - mothur.git/blobdiff - distancecommand.cpp
added alignment code
[mothur.git] / distancecommand.cpp
index e5878b3170fcb256d2a4d8655e32b8c6bb97a795..7d1f6a0308b5358b2ef39ef70579d866fafca6da 100644 (file)
@@ -88,11 +88,12 @@ int DistanceCommand::execute(){
                
                remove(distFile.c_str());
                
-       //      #       if defined (WIN_VERSION)
+               //#     if defined (_WIN32)
+                       //figure out how to implement the fork and wait commands in windows
                //      driver(distCalculator, seqDB, 0, numSeqs, distFile, cutoff);
-       //      #       endif
+               //#     endif
                
-               #       if defined (__APPLE__) || (__MACH__)
+               #       if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
                        if(processors == 1){
                                driver(distCalculator, seqDB, 0, numSeqs, distFile, cutoff);    
                        }       
@@ -168,6 +169,8 @@ int DistanceCommand::execute(){
                                wait(NULL);
                        }
                        wait(NULL);
+               #       else
+                       driver(distCalculator, seqDB, 0, numSeqs, distFile, cutoff);
                #       endif
        
                delete distCalculator;