summaryrefslogtreecommitdiff
path: root/indra/cmake/Variables.cmake
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2025-10-14 15:15:24 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-16 19:44:18 +0300
commit790c52f3fdd6f326d36cd329d6090207c59d3cc8 (patch)
tree807a5183eaa774a122d61ae48420dbc2e76e782b /indra/cmake/Variables.cmake
parent9f192430ef555bb9c5cddbbf2a6607debf076cda (diff)
Fix erroneous check for __attribute__ definition introduced with APR 1.7.5
With the update of APR to versoin 1.7.5., we have to deal with an erroneous check for the definition of __attribute__ added to the APR head file apr.h: The additional check for the definition of __has_attribute is nonsense as it is a C++ internal macro to check for the existance of certain attributes, however it has nothing to do with __attribute__ used in this context. Since __attribute__ is not defined in MSVC, the modified, erroneous check now causes said definition becoming missing, resulting in a huge amount of "this declaration may not have extern 'C' linkage" errors within in MSVC. This change utilizes CMake to patch the extracted APR header file, restoring the original version of the check.
Diffstat (limited to 'indra/cmake/Variables.cmake')
0 files changed, 0 insertions, 0 deletions