Module: check_mk
Branch: master
Commit: b1232628c90763d84282da0ba806a8b214c80272
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b1232628c90763…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Fri Feb 23 13:53:12 2018 +0100
5705 FIX Restore support for 32 bit Windows
Support for at least older 32 bit Windows versions was accidentally
dropped in 1.5.0i1. As a result, an error about missing procedure in
ntdll.dll was shown. Now the support is restored and the Windows agent
should work correctly also on all 32 bit systems.
---
.werks/5705 | 15 +++++++++++++++
agents/windows/Makefile.am | 2 +-
agents/windows/build_version | 2 +-
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/.werks/5705 b/.werks/5705
new file mode 100644
index 0000000..962d1aa
--- /dev/null
+++ b/.werks/5705
@@ -0,0 +1,15 @@
+Title: Restore support for 32 bit Windows
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i4
+Date: 1519390179
+Class: fix
+
+Support for at least older 32 bit Windows versions was accidentally
+dropped in 1.5.0i1. As a result, an error about missing procedure in
+ntdll.dll was shown. Now the support is restored and the Windows agent
+should work correctly also on all 32 bit systems.
+
+
diff --git a/agents/windows/Makefile.am b/agents/windows/Makefile.am
index 6d26b0c..0d01e6f 100644
--- a/agents/windows/Makefile.am
+++ b/agents/windows/Makefile.am
@@ -7,7 +7,7 @@ AUTOMAKE_OPTIONS = foreign
AM_CPPFLAGS = -O2 -Wformat=2 -Werror -Wall -fno-rtti -std=c++17 -gdwarf-2 \
-DCHECK_MK_VERSION='"$(VERSION)"'
-D__USE_MINGW_ANSI_STDIO -DSI_SUPPORT_IOSTREAMS
AM_LDFLAGS = -static -static-libgcc -static-libstdc++
-LD_COMMON = -lwsock32 -lws2_32 -lole32 -loleaut32 -lwbemuuid -lpsapi -lshlwapi -limagehlp
-lntdll -lstdc++fs
+LD_COMMON = -lwsock32 -lws2_32 -lole32 -loleaut32 -lwbemuuid -lpsapi -lshlwapi -limagehlp
-lstdc++fs
check_mk_agent_LDADD = check_mk_agent.res libcheck_mk_agent.a $(LD_COMMON)
diff --git a/agents/windows/build_version b/agents/windows/build_version
index 9a1248b..5fd68c5 100644
--- a/agents/windows/build_version
+++ b/agents/windows/build_version
@@ -1 +1 @@
-3112
+3114