Skip to content

Commit

Permalink
Fix compile with older SFML
Browse files Browse the repository at this point in the history
- SFML_VERSION_PATCH appears to only be defined as of version 2.2
  • Loading branch information
mickelson committed Nov 3, 2018
1 parent 95dea63 commit e8362a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/fe_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ void fe_print_version()
{
FeLog() << FE_NAME << " " << FE_VERSION << " ("
<< get_OS_string()
<< ", SFML " << SFML_VERSION_MAJOR << '.' << SFML_VERSION_MINOR << "." << SFML_VERSION_PATCH
<< ", SFML " << SFML_VERSION_MAJOR << '.' << SFML_VERSION_MINOR
#if ( SFML_VERSION_INT >= FE_VERSION_INT( 2, 2, 0 ) )
<< "." << SFML_VERSION_PATCH
#endif
#ifdef USE_FONTCONFIG
<< " +FontConfig"
#endif
Expand Down

0 comments on commit e8362a0

Please sign in to comment.