platform: fix build on SmartOS
authorbmeurer@chromium.org <bmeurer@chromium.org>
Mon, 20 Oct 2014 11:27:39 +0000 (11:27 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Mon, 20 Oct 2014 11:27:39 +0000 (11:27 +0000)
commit778b0926eacec1d58ee86b852b9d46088347b852
tree4102fae893805aac8a4f757ab0315757f3c71aa9
parentcc60a45d7880ac2db4a4c1c48d63174090bc8c8f
platform: fix build on SmartOS

With -std=g++0x, `signbit` is no longer a define, and is an actual
function declared in C++-specific headers. Thus checking it's presence
with ifdef will no longer work.

Considering that g++0x implies newer compiler, there should not be the
case where it won't be present anymore.

BUG=
R=bmeurer@chromium.org, danno

Review URL: https://codereview.chromium.org/642203003

Patch from Fedor Indutny <fedor.indutny@gmail.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24730 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/base/platform/platform-solaris.cc
src/base/platform/platform.h