diff options
author | marha <marha@users.sourceforge.net> | 2010-10-30 18:34:27 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-10-30 18:34:27 +0000 |
commit | 75ef19188d021a5e965198bde774c1c33bedc1f3 (patch) | |
tree | f20be1d1e684a5388c0e386ea302c1b3e98359d0 /tools/mhmake/src/functions.cpp | |
parent | d9ddf066b898491827ffd6f1d115534c54c82f6b (diff) | |
download | vcxsrv-75ef19188d021a5e965198bde774c1c33bedc1f3.tar.gz vcxsrv-75ef19188d021a5e965198bde774c1c33bedc1f3.tar.bz2 vcxsrv-75ef19188d021a5e965198bde774c1c33bedc1f3.zip |
Increased gnu make compatibility.
Diffstat (limited to 'tools/mhmake/src/functions.cpp')
-rw-r--r-- | tools/mhmake/src/functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mhmake/src/functions.cpp b/tools/mhmake/src/functions.cpp index 97dc99c01..1602112c3 100644 --- a/tools/mhmake/src/functions.cpp +++ b/tools/mhmake/src/functions.cpp @@ -525,7 +525,7 @@ string mhmakefileparser::f_addprefix(const string & Arg) const string PreFix;
pTmp=NextCharItem(pTmp,PreFix,',');
#ifdef _DEBUG
- if (!*pTmp) {
+ if (PreFix.empty()) {
throw ("Wrong number of arguments in function addprefix");
}
#endif
|