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:
kichik 2007-07-17 16:45:13 +00:00
parent 9841c1ec97
commit d56004079e

View file

@ -243,11 +243,13 @@ static int change_to_script_dir(CEXEBuild& build, string& script)
return 0;
}
#ifdef NSIS_HPUX_ALLOW_UNALIGNED_DATA_ACCESS
extern "C" void allow_unaligned_data_access();
#endif
int main(int argc, char **argv)
{
#ifdef NSIS_HPUX_ALLOW_UNALIGNED_DATA_ACCESS
extern "C" void allow_unaligned_data_access();
allow_unaligned_data_access();
#endif