# define SETVBUF(FP,PTR,TYP,SZ) setvbuf(FP,PTR,TYP,SZ)
#endif
-#if defined(unix) || defined(__MACH__) || defined(__CYGWIN__)
+#if defined(__MACH__) || defined(__CYGWIN__)
#define DIRSEP '/' /**< directory separetor */
#elif defined (__WIN32__) || defined (__MSDOS__)
#define DIRSEP '\\' /**< directory separetor */
bool found = false;
while (fgets (line, sizeof (line), lfp) != NULL)
{
- if (strcmp (line, "LOG: comment content: "
- "\"test suite: read test suite file.\"\n") == 0)
+ char* content = strstr (line, "comment content: ");
+ if (content && strcmp (content, "comment content: "
+ "\"test suite: read test suite file.\"\n") == 0)
{
found = true;
return;