Commit 5d301b71 authored by dimitri's avatar dimitri

Fixes compile bug on Windows

parent 8feba3b6
...@@ -209,7 +209,7 @@ class FileList : public QList<FileDef> ...@@ -209,7 +209,7 @@ class FileList : public QList<FileDef>
{ {
FileDef *md1 = (FileDef *)item1; FileDef *md1 = (FileDef *)item1;
FileDef *md2 = (FileDef *)item2; FileDef *md2 = (FileDef *)item2;
return strcasecmp(md1->name(),md2->name()); return stricmp(md1->name(),md2->name());
} }
private: private:
QCString m_pathName; QCString m_pathName;
...@@ -224,7 +224,7 @@ class OutputNameList : public QList<FileList> ...@@ -224,7 +224,7 @@ class OutputNameList : public QList<FileList>
{ {
FileList *fl1 = (FileList *)item1; FileList *fl1 = (FileList *)item1;
FileList *fl2 = (FileList *)item2; FileList *fl2 = (FileList *)item2;
return strcasecmp(fl1->path(),fl2->path()); return stricmp(fl1->path(),fl2->path());
} }
}; };
......
...@@ -78,7 +78,7 @@ int iSystem(const char *command) ...@@ -78,7 +78,7 @@ int iSystem(const char *command)
} }
} }
#else #else
system(command); return system(command);
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment