summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2025-10-22 19:16:59 -0700
committerCallum Prentice <callum@lindenlab.com>2025-10-22 19:16:59 -0700
commit21e9b38f06e187414d30c12c8c69ebf7b4e4e636 (patch)
treed41d6b2db8a878cc18f2215e01fd710fb663a76e /indra/cmake
parentc64c16a59ae2220b29ba0ed1f3f22da07e694612 (diff)
parent0da96a508a5d8d384e017f707babd2193f6ca6a7 (diff)
Merge branch 'develop' of https://github.com/secondlife/viewer into callum/voice-moderation-2
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/APR.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/cmake/APR.cmake b/indra/cmake/APR.cmake
index 310659686d..e0807a7d19 100644
--- a/indra/cmake/APR.cmake
+++ b/indra/cmake/APR.cmake
@@ -31,8 +31,3 @@ if(DARWIN)
endif()
target_include_directories(ll::apr SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/apr-1)
-
-# Fix erroneous check for __attribute__ definition introduced with APR 1.7.5, causing lots of "this declaration may not have extern 'C' linkage" errors in VS
-file(READ ${LIBS_PREBUILT_DIR}/include/apr-1/apr.h APR_HEADER_CONTENTS)
-string(REPLACE "#if !(defined(__attribute__) || defined(__has_attribute))" "#if !defined(__attribute__)" APR_HEADER_CONTENTS "${APR_HEADER_CONTENTS}")
-file(WRITE ${LIBS_PREBUILT_DIR}/include/apr-1/apr.h "${APR_HEADER_CONTENTS}")