We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37e6594 commit 10b9369Copy full SHA for 10b9369
.github/scripts/windows/build_task.bat
@@ -56,6 +56,8 @@ if "%PLATFORM%" == "x86" (
56
set CFLAGS=/W1 /WX
57
)
58
59
+patch --binary %DEPS_DIR%\include\net-snmp\net-snmp-config.h -i %~dp0net-snmp-config.h.patch.bin
60
+
61
cmd /c configure.bat ^
62
--enable-snapshot-build ^
63
--disable-debug-pack ^
.github/scripts/windows/net-snmp-config.h.patch.bin
@@ -0,0 +1,14 @@
1
+--- net-snmp-config.h 2019-07-01 13:04:57.401354900 +0200
2
++++ net-snmp-config.h 2022-05-04 11:52:42.229867900 +0200
3
+@@ -1365,9 +1365,9 @@
4
+ # define HAVE_SSIZE_T
5
+ #elif defined(_MSC_VER)
6
+ # ifdef _M_X64
7
+-typedef __int64 ssize_t;
8
++// prevent redefine warning typedef __int64 ssize_t;
9
+ # else
10
+-typedef __int32 ssize_t;
11
++// prevent redefine warning typedef __int32 ssize_t;
12
+ # endif
13
+ #endif
14
0 commit comments