#ifdef HAVE_UNISTD_H #include #endif #include using namespace std; #if 0 // Never use this! #define FILE2string(s,f,c) do {\ FILE *(f) = fopen("testout", "w");\ c;\ fclose(f);\ s = readTestBaseline("testout");\ unlink("testout");\ } while(0); #endif string readTestBaseline(const string &fn);