Include minor version in jpeg library version info
This commit is contained in:
parent
ec4b71afa0
commit
aa8ce7acb1
1 changed files with 5 additions and 1 deletions
|
|
@ -505,7 +505,11 @@ bool wxJPEGHandler::DoCanRead( wxInputStream& stream )
|
|||
|
||||
/*static*/ wxVersionInfo wxJPEGHandler::GetLibraryVersionInfo()
|
||||
{
|
||||
return wxVersionInfo("libjpeg", JPEG_LIB_VERSION/10, JPEG_LIB_VERSION%10);
|
||||
#if defined(JPEG_LIB_VERSION_MAJOR) && defined(JPEG_LIB_VERSION_MINOR)
|
||||
return wxVersionInfo("libjpeg", JPEG_LIB_VERSION_MAJOR, JPEG_LIB_VERSION_MINOR);
|
||||
#else
|
||||
return wxVersionInfo("libjpeg", JPEG_LIB_VERSION / 10, JPEG_LIB_VERSION % 10);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // wxUSE_LIBJPEG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue