aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/functions.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-10-30 18:34:27 +0000
committermarha <marha@users.sourceforge.net>2010-10-30 18:34:27 +0000
commit75ef19188d021a5e965198bde774c1c33bedc1f3 (patch)
treef20be1d1e684a5388c0e386ea302c1b3e98359d0 /tools/mhmake/src/functions.cpp
parentd9ddf066b898491827ffd6f1d115534c54c82f6b (diff)
downloadvcxsrv-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.cpp2
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