From 5d301b7175193a7bb7973506df92da065b4acf6e Mon Sep 17 00:00:00 2001 From: dimitri Date: Mon, 17 Jul 2000 14:49:17 +0000 Subject: Fixes compile bug on Windows --- src/filedef.h | 4 ++-- src/util.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/filedef.h b/src/filedef.h index c42d2e5..03bc919 100644 --- a/src/filedef.h +++ b/src/filedef.h @@ -209,7 +209,7 @@ class FileList : public QList { FileDef *md1 = (FileDef *)item1; FileDef *md2 = (FileDef *)item2; - return strcasecmp(md1->name(),md2->name()); + return stricmp(md1->name(),md2->name()); } private: QCString m_pathName; @@ -224,7 +224,7 @@ class OutputNameList : public QList { FileList *fl1 = (FileList *)item1; FileList *fl2 = (FileList *)item2; - return strcasecmp(fl1->path(),fl2->path()); + return stricmp(fl1->path(),fl2->path()); } }; diff --git a/src/util.cpp b/src/util.cpp index a1e93a8..563c0e6 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -78,7 +78,7 @@ int iSystem(const char *command) } } #else - system(command); + return system(command); #endif } -- cgit v0.12