mdbx: add ifdef-guard for clang < 3.8

Change-Id: Iba7a90e2548056cbdf07ae471eb002da7145821c
This commit is contained in:
Leo Yuriev 2018-03-07 13:06:39 +03:00
parent 62f36ea499
commit 62603aeadc

View File

@ -65,7 +65,15 @@
* But you could remove this #error and try to continue at your own risk. * But you could remove this #error and try to continue at your own risk.
* In such case please don't rise up an issues related ONLY to old compilers. * In such case please don't rise up an issues related ONLY to old compilers.
*/ */
# warning "libmdbx required at least GCC 4.2 compatible C/C++ compiler." # warning "libmdbx required GCC >= 4.2"
#endif
#if defined(__clang__) && !__CLANG_PREREQ(3,8)
/* Actualy libmdbx was not tested with CLANG older than 3.8.
* But you could remove this #error and try to continue at your own risk.
* In such case please don't rise up an issues related ONLY to old compilers.
*/
# warning "libmdbx required CLANG >= 3.8"
#endif #endif
#if defined(__GLIBC__) && !__GLIBC_PREREQ(2,12) #if defined(__GLIBC__) && !__GLIBC_PREREQ(2,12)