mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fix incorrect version check for libgif (#2936)
This commit is contained in:
parent
0af9e7a8db
commit
f8bf6caef3
@ -71,7 +71,7 @@ namespace dlib
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
||||
// handle the differences in API between libgif v5 and older.
|
||||
#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5
|
||||
#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR > 5 || (GIFLIB_MAJOR == 5 && defined(GIFLIB_MINOR) && GIFLIB_MINOR >= 1))
|
||||
#define DLIB_GIFLIB_HANDLE_DIFF_VERSIONS ,0
|
||||
#else
|
||||
#define DLIB_GIFLIB_HANDLE_DIFF_VERSIONS
|
||||
|
Loading…
Reference in New Issue
Block a user