mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
- Fix logic in get_define()
This commit is contained in:
parent
42aa7f3dd4
commit
9a5f2e1b79
@ -17,7 +17,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
// $Id: confutils.js,v 1.60.2.1.2.8.2.26 2008-07-19 16:57:58 sfox Exp $
|
||||
// $Id: confutils.js,v 1.60.2.1.2.8.2.27 2008-07-19 19:02:59 sfox Exp $
|
||||
|
||||
var STDOUT = WScript.StdOut;
|
||||
var STDERR = WScript.StdErr;
|
||||
@ -1652,7 +1652,10 @@ function ADD_FLAG(name, flags, target)
|
||||
|
||||
function get_define(name)
|
||||
{
|
||||
return configure_subst.Item(name);
|
||||
if (configure_subst.Exists(name)) {
|
||||
return configure_subst.Item(name);
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
// Add a .def to the core to export symbols
|
||||
|
Loading…
Reference in New Issue
Block a user