summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2015-03-05 11:10:12 -0800
committerDwayne Boone <dwayne@zeroc.com>2015-03-05 11:10:12 -0800
commit12fef5d87f813ecee9b4253de11b3aafb399d10b (patch)
tree2a787cf7990448d3c679e6abf70dace551c2d12a /php/src
parentChange the java options of the ice36 brew formula. (diff)
downloadice-12fef5d87f813ecee9b4253de11b3aafb399d10b.tar.bz2
ice-12fef5d87f813ecee9b4253de11b3aafb399d10b.tar.xz
ice-12fef5d87f813ecee9b4253de11b3aafb399d10b.zip
Fixed linux php build
Diffstat (limited to 'php/src')
-rw-r--r--php/src/IcePHP/Types.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/php/src/IcePHP/Types.cpp b/php/src/IcePHP/Types.cpp
index 080d00caddd..438541a8d5e 100644
--- a/php/src/IcePHP/Types.cpp
+++ b/php/src/IcePHP/Types.cpp
@@ -16,6 +16,8 @@
#include <Slice/PHPUtil.h>
#include <Ice/SlicedData.h>
+#include <limits>
+
using namespace std;
using namespace IcePHP;
using namespace IceUtil;
@@ -756,7 +758,7 @@ IcePHP::PrimitiveInfo::validate(zval* zv TSRMLS_DC)
}
if(Z_TYPE_P(zv) == IS_DOUBLE)
{
- double val = val = Z_DVAL_P(zv);
+ double val = Z_DVAL_P(zv);
return val <= numeric_limits<float>::max() && val >= -numeric_limits<float>::max();
}
break;