]> git.donarmstrong.com Git - mothur.git/blobdiff - shhhercommand.cpp
added unix to ifdefs. minor changes while testing 1.24.0.
[mothur.git] / shhhercommand.cpp
index 5d8263c86e2a1f3eae24da047897e2c642d243eb..28e6615f3dffba8fb88c88cd9ca76e79e66faa06 100644 (file)
@@ -1823,7 +1823,7 @@ int ShhherCommand::execute(){
                
         if (numFiles < processors) { processors = numFiles; }
         
-#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
+#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix)
         if (processors == 1) { driver(flowFileVector, compositeFASTAFileName, compositeNamesFileName, 0, flowFileVector.size()); }
         else { createProcesses(flowFileVector); } //each processor processes one file
 #else
@@ -1869,7 +1869,7 @@ int ShhherCommand::createProcesses(vector<string> filenames){
                        lines.push_back(linePair(startIndex, endIndex));
                }
                
-        #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)          
+        #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix)         
                
                //loop through and create all the processes you want
                while (process != processors) {