Skip to content

Commit

Permalink
do not try to compile get_default_browser() except for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorzmazur committed Jan 24, 2016
1 parent 262c779 commit 8a1bf41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/yacasmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ void LispExitRequested(LispEnvironment& aEnvironment, LispInt aStackTop)
InternalFalse(aEnvironment, RESULT);
}

#ifdef _WIN32
std::string get_default_browser()
{
HKEY key;
Expand All @@ -207,7 +208,7 @@ std::string get_default_browser()

return buf;
}

#endif

std::string ReadInputString(const std::string& prompt)
{
Expand Down

0 comments on commit 8a1bf41

Please sign in to comment.