Skip to content

Commit

Permalink
Conditionally use JL_SET_STACK_BASE only when it's actually defined
Browse files Browse the repository at this point in the history
  • Loading branch information
waTeim committed Dec 16, 2014
1 parent 487e054 commit 0a3ca27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/JMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ void JMain::operator()()
{
if(install_directory == "") jl_init(0);
else jl_init_with_image((char*)install_directory.c_str(),(char*)"sys.ji");

#ifdef JL_SET_STACK_BASE
JL_SET_STACK_BASE;
#endif

done = false;

while(!done)
Expand Down

0 comments on commit 0a3ca27

Please sign in to comment.