From e3afc3f5a6d74218f9f367e77358afce14e7c8ee Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 7 Jan 2019 18:15:49 +0000 Subject: [PATCH] Ensure large strings build of NSIS is used. Fixes #1396 --- mswin32/nsis/Nmap.nsi.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mswin32/nsis/Nmap.nsi.in b/mswin32/nsis/Nmap.nsi.in index 6bb86c2b01..36472cf09d 100644 --- a/mswin32/nsis/Nmap.nsi.in +++ b/mswin32/nsis/Nmap.nsi.in @@ -21,6 +21,11 @@ ;; contain any quotes, even if the path contains spaces. Only absolute ;; paths are supported. +; Ensure large strings build is used +!if ${NSIS_MAX_STRLEN} < 8192 +!error "Need to use large strings build of NSIS." +!endif + ;-------------------------------- ;Include Modern UI