Skip to content

Commit 207e789

Browse files
committed
build: avoid windows toolchain inclusion on windows 32 build
1 parent d0360af commit 207e789

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ endif()
88
if(WIN32)
99
if("${PLATFORM}" STREQUAL "x86")
1010
set(CMAKE_SYSTEM_PROCESSOR "x86")
11+
set(CMAKE_TOOLCHAIN_FILE "Z")
1112
elseif(NOT "$ENV{PROCESSOR_ARCHITEW6432}" STREQUAL "")
1213
set(CMAKE_SYSTEM_PROCESSOR "$ENV{PROCESSOR_ARCHITEW6432}")
13-
set(CMAKE_TOOLCHAIN_FILE "Z")
1414
else()
1515
set(CMAKE_SYSTEM_PROCESSOR "$ENV{PROCESSOR_ARCHITECTURE}")
1616
endif()

src/util/uvhandle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace zmq {
88
template <typename T>
99
struct UvDeleter {
10-
constexpr UvDeleter(){};
10+
constexpr UvDeleter() {};
1111

1212
inline void operator()(T* handle) {
1313
/* If uninitialized, simply delete the memory. We

0 commit comments

Comments
 (0)