Author: hpoussin
Date: Mon Nov 5 12:56:45 2007
New Revision: 30155
URL:
http://svn.reactos.org/svn/reactos?rev=30155&view=rev
Log:
Fix build
Modified:
trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp Mon Nov 5 12:56:45 2007
@@ -644,8 +644,11 @@
parameters += "$(QT)";
parameters += "-D";
parameters += define.name;
- parameters += "=";
- parameters += define.value;
+ if (define.value.length () > 0)
+ {
+ parameters += "=";
+ parameters += define.value;
+ }
if (define.name.find('(') != string::npos)
parameters += "$(QT)";
used_defs.insert(used_defs.begin(),define.name);
@@ -841,10 +844,11 @@
fMakefile,
" -D%s",
define.name.c_str() );
- fprintf (
- fMakefile,
- "=%s",
- define.value.c_str() );
+ if (define.value.length () > 0)
+ fprintf (
+ fMakefile,
+ "=%s",
+ define.value.c_str() );
if ( used_defs )
used_defs->insert( used_defs->begin (), &define );
}