Skip to content

Commit c6ec89f

Browse files
author
Oleh Kulykov
committed
1722291967
1 parent 2b64a08 commit c6ec89f

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,6 @@ endif()
118118
if (MINGW)
119119
add_definitions(-DLIBPLZMA_MINGW=1)
120120
message("MinGW")
121-
122-
# CXX ignore private external function attributes or unknown scoped attributes.
123-
#check_cxx_compiler_flag("-Wno-attributes" WITH_WNO_ATTRIBUTES_CXX)
124-
#if (WITH_WNO_ATTRIBUTES_CXX)
125-
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-attributes")
126-
#endif()
127-
128121
endif()
129122

130123
if (MSVC)

src/plzma_private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154

155155
#if defined(LIBPLZMA_MINGW)
156156
# undef LIBPLZMA_C_API_PRIVATE
157-
# define LIBPLZMA_C_API_PRIVATE(RETURN_TYPE) LIBPLZMA_C_EXTERN LIBPLZMA_ATTRIB RETURN_TYPE
157+
# define LIBPLZMA_C_API_PRIVATE(RETURN_TYPE) LIBPLZMA_C_EXTERN RETURN_TYPE
158158
#endif
159159

160160
#if defined(__GNUC__) || defined(__clang__)

0 commit comments

Comments
 (0)