Skip to content

Commit 41119cd

Browse files
committed
[libcxxabi] Disable DLL annotations on static
rL288692 renames _LIBCXXABI_DISABLE_DLL_IMPORT_EXPORT to _LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS llvm-svn: 304110
1 parent 2739eba commit 41119cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxxabi/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ add_definitions(-D_LIBCXXABI_BUILDING_LIBRARY)
322322

323323
# Disable DLL annotations on Windows for static builds.
324324
if (WIN32 AND LIBCXXABI_ENABLE_STATIC AND NOT LIBCXXABI_ENABLE_SHARED)
325-
add_definitions(-D_LIBCXXABI_DISABLE_DLL_IMPORT_EXPORT)
325+
add_definitions(-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS)
326326
endif()
327327

328328
append_if(LIBCXXABI_COMPILE_FLAGS LIBCXXABI_HAS_WERROR_FLAG -Werror=return-type)

0 commit comments

Comments
 (0)