diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mhmake/src/util.cpp | 4 | ||||
-rw-r--r-- | tools/mhmake/src/util.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/mhmake/src/util.cpp b/tools/mhmake/src/util.cpp index 5864fc7de..3e20706dd 100644 --- a/tools/mhmake/src/util.cpp +++ b/tools/mhmake/src/util.cpp @@ -584,9 +584,9 @@ loadedmakefile::loadedmakefile(const fileinfo *pDir, vector<string> &Args,const {
const string &RootDir=loadedmakefile::sm_Statics.m_MhMakeConf->GetFullFileName();
string MakeDir=m_MakeDir->GetFullFileName();
- if (RootDir.length()>MakeDir.length() || _strnicmp(RootDir.c_str(),MakeDir.c_str(),RootDir.length()))
+ if (RootDir.length()>MakeDir.length() || strncmp(RootDir.c_str(),MakeDir.c_str(),RootDir.length()))
{
- cerr<<"mhmake needs to run in a directory that is a subdirectory of the directory specified with %MHMAKECONF : "<<RootDir<<", make dir : "<<m_MakeDir->GetFullFileName()<<endl;
+ cerr<<"mhmake needs to run in a directory that is a subdirectory of the directory specified with %MHMAKECONF : "<<RootDir<<", make dir : "<<m_MakeDir->GetFullFileName()<<"\nComparison is case sensitive!\n";
exit(1);
}
}
diff --git a/tools/mhmake/src/util.h b/tools/mhmake/src/util.h index a9bd76cfc..adb154497 100644 --- a/tools/mhmake/src/util.h +++ b/tools/mhmake/src/util.h @@ -50,7 +50,7 @@ #define PLATFORM "linux"
#endif
-#define MHMAKEVER "3.0.8"
+#define MHMAKEVER "3.0.9"
class makecommand
{
|