File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -118,13 +118,6 @@ endif()
118
118
if (MINGW )
119
119
add_definitions (-DLIBPLZMA_MINGW=1 )
120
120
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
-
128
121
endif ()
129
122
130
123
if (MSVC )
Original file line number Diff line number Diff line change 154
154
155
155
#if defined(LIBPLZMA_MINGW )
156
156
# 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
158
158
#endif
159
159
160
160
#if defined(__GNUC__ ) || defined(__clang__ )
You can’t perform that action at this time.
0 commit comments