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
This commit is contained in:
parent
5ab7a5eeb1
commit
a1f64d2d4c
1 changed files with 4 additions and 0 deletions
|
@ -64,11 +64,15 @@ int NSISCALL ExecuteCodeSegment(int pos, HWND hwndProgress)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NSIS_SUPPORT_CODECALLBACKS
|
||||||
|
|
||||||
int NSISCALL ExecuteCallbackFunction(int num)
|
int NSISCALL ExecuteCallbackFunction(int num)
|
||||||
{
|
{
|
||||||
return ExecuteCodeSegment(*(&g_header->code_onInit + num), NULL);
|
return ExecuteCodeSegment(*(&g_header->code_onInit + num), NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
static char bufs[5][NSIS_MAX_STRLEN];
|
static char bufs[5][NSIS_MAX_STRLEN];
|
||||||
static int *parms;
|
static int *parms;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue