Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/installer/shared/scripts/log.nsh

18 lines
371 B
Plaintext
Raw Normal View History

2024-09-24 12:54:57 +00:00
!ifndef NULLSOFT_NX_LOG_NSIS_HEADER
!define NULLSOFT_NX_LOG_NSIS_HEADER
!macro NX_Log __string
System::Call "Kernel32::OutputDebugStringW(t s)" `${__string}`
!macroend
!define NX_Log "!insertmacro NX_Log"
!macro NX_DLog __string
!ifdef _DEBUG
${NX_Log} `${__string}`
!endif
!macroend
!define NX_DLog "!insertmacro NX_DLog"
!endif ;NULLSOFT_NX_LOG_NSIS_HEADER