Set V8_HAS_DECLSPEC_SELECTANY for clang-cl
authorhans <hans@chromium.org>
Thu, 21 May 2015 16:21:24 +0000 (09:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 21 May 2015 16:21:05 +0000 (16:21 +0000)
commite514015264f1e0193b57dee76487c85d24f7e4f1
treec930f7678ea945df1bb517664e5c326cb6822500
parentb59fda16fcc3a8b3d49acee72cfea7253c556b7d
Set V8_HAS_DECLSPEC_SELECTANY for clang-cl

This macro is used for defining static data members with
STATIC_CONST_MEMBER_DEFINITION. Clang-cl mimics MSVC's
behaviour here, so it also needs __declspec(selectany).

This change was prompted by Clang r237787 which changed
a bug where Clang would previously not emit symbols for
some static data members.

BUG=82385
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#28563}
include/v8config.h