From 7f7dc37264686196c64ed6e0a57896de5bbb9155 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 20 Dec 2008 09:26:16 +0000 Subject: [PATCH] add NSISCALL definition for external plug-ins not built with scons git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5859 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/exehead/api.h b/Source/exehead/api.h index a2c988aa..9a90278c 100644 --- a/Source/exehead/api.h +++ b/Source/exehead/api.h @@ -57,6 +57,10 @@ typedef struct int status_update; } exec_flags_t; +#ifndef NSISCALL +# define NSISCALL __stdcall +#endif + typedef struct { exec_flags_t *exec_flags; int (NSISCALL *ExecuteCodeSegment)(int, HWND);