]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.h
added sorted parameter to get.oturep, added error checking to chimera classes in...
[mothur.git] / mothur.h
index 78ccf1105795ec6dd018ae5820c5ceca2110c505..f839328cd2c304330fb18f31fb97eea531ef625a 100644 (file)
--- a/mothur.h
+++ b/mothur.h
 #include <cerrno>
 #include <ctime>
 #include <limits>
-#include <readline/readline.h>
-#include <readline/history.h>
 
 /***********************************************************************/
 
 #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
        #include <sys/wait.h>
        #include <unistd.h>
+       
+       #ifdef USE_READLINE
+               #include <readline/readline.h>
+               #include <readline/history.h>
+       #endif
+
+       //#include <readline/readline.h>
+       //#include <readline/history.h>
 #else
        #include <conio.h> //allows unbuffered screen capture from stdin
 #endif
@@ -195,7 +201,6 @@ inline void gobble(istream& f){
        f.putback(d);
        
 }
-
 /***********************************************************************/
 
 inline string getline(ifstream& fileHandle) {
@@ -496,7 +501,6 @@ inline bool inVector(string member, vector<string> group){
        
        return false;
 }
-
 /***********************************************************************/
 
 //This function parses the estimator options and puts them in a vector