From a1f64d2d4cd576bbf2d758b1500e85e5c8ffca59 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Fri, 6 Aug 2004 21:47:14 +0000 Subject: [PATCH] compiles with NSIS_SUPPORT_CODECALLBACKS disabled git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3600 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/exec.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/exehead/exec.c b/Source/exehead/exec.c index 6db2c25b..85005a35 100644 --- a/Source/exehead/exec.c +++ b/Source/exehead/exec.c @@ -64,11 +64,15 @@ int NSISCALL ExecuteCodeSegment(int pos, HWND hwndProgress) return 0; } +#ifdef NSIS_SUPPORT_CODECALLBACKS + int NSISCALL ExecuteCallbackFunction(int num) { return ExecuteCodeSegment(*(&g_header->code_onInit + num), NULL); } +#endif + static char bufs[5][NSIS_MAX_STRLEN]; static int *parms;