fixed bug #1755148 - hpux build linkage specification in main
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5206 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9841c1ec97
commit
d56004079e
1 changed files with 4 additions and 2 deletions
|
@ -243,11 +243,13 @@ static int change_to_script_dir(CEXEBuild& build, string& script)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NSIS_HPUX_ALLOW_UNALIGNED_DATA_ACCESS
|
||||||
|
extern "C" void allow_unaligned_data_access();
|
||||||
|
#endif
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef NSIS_HPUX_ALLOW_UNALIGNED_DATA_ACCESS
|
#ifdef NSIS_HPUX_ALLOW_UNALIGNED_DATA_ACCESS
|
||||||
extern "C" void allow_unaligned_data_access();
|
|
||||||
allow_unaligned_data_access();
|
allow_unaligned_data_access();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue