FS-10690: [libblade] fixed up libconfig to treat 1.4.x as legacy for debian 8 system packages, with 1.5.0 expected on windows and newer linux

This commit is contained in:
Shane Bryldt committed 2017-10-10 06:33:12 -06:00
1 parent 03eb15c978
commit a173023827
3 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -65,9 +65,9 @@
KS_BEGIN_EXTERN_C
#ifdef _WIN32
// @todo look into why the tarball build has a different function name from the debian package
#define config_lookup_from config_setting_lookup
// legacy for libconfig pre 1.5.0
#if (LIBCONFIG_VER_MAJOR <= 1) && (LIBCONFIG_VER_MINOR <= 4)
#define config_setting_lookup config_lookup_from
#endif
#ifdef __APPLE__