Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b00c55

Browse files
committed
Check ports for nsis 3
1 parentdd92347 commit2b00c55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎nsis/Ports.nsh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,12 @@ Function IsPortOpen
6767
IntOp$4$4 +$5# skip to entry
6868
System::Call *$4(i,i.r4)
6969
${EndIf}
70+
!if"${NSIS_PACKEDVERSION}">=50343936; v3.3+
71+
System::Callws2_32::ntohs(hr4)h.r4
72+
!else
7073
System::Callws2_32::ntohs(ir4)i.r4
74+
IntOp$4$4 &0xffff; Truncate to 16-bits
75+
!endif
7176

7277
${If}$4=$R0
7378
StrCpy$R0"open"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp