Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ function buildSDL() {
CXXFLAGS="${CXXFLAGS} -fno-rtti -std=c++14"

dnl preconfigured values for SDL build
AC_DEFINE_UNQUOTED([_SDL_VERSION], ["`sdl2-config --version` "], [SDL library version])
AC_DEFINE(_SDL, 1, [Defined when building SDL version])
AC_DEFINE(_UnixOS, 1, [Building under Unix like systems.])
AC_DEFINE(IMPL_DEV_READ, 1, [Implement dev_read()])
Expand Down Expand Up @@ -416,6 +417,7 @@ function buildFLTK() {
defaultConditionals

dnl preconfigured values for FLTK build
AC_DEFINE_UNQUOTED([_FLTK_VERSION], ["`fltk-config --version` "], [FLTK library version])
AC_DEFINE(_UnixOS, 1, [Building under Unix like systems.])
AC_DEFINE(_FLTK, 1, [Defined for FLTK build.])
AC_DEFINE(IMPL_DEV_READ, 1, [Implement dev_read()])
Expand Down
4 changes: 2 additions & 2 deletions src/common/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ extern "C" {

// SB's constants
#if defined(_SDL)
#define SB_STR_VER VERSION " SDL " SB_VERSYS SB_BIT_SZ BUILD_DATE
#define SB_STR_VER VERSION " SDL " _SDL_VERSION SB_VERSYS SB_BIT_SZ BUILD_DATE
#elif defined (_ANDROID)
#define SB_STR_VER VERSION " Android " BUILD_DATE
#elif defined (_FLTK)
#define SB_STR_VER VERSION " FLTK " BUILD_DATE
#define SB_STR_VER VERSION " FLTK " _FLTK_VERSION SB_VERSYS SB_BIT_SZ BUILD_DATE
#elif defined (_EMCC)
#define SB_STR_VER VERSION " Emscripten " BUILD_DATE
#else
Expand Down