mdbx: refine attribute-based macros.

This commit is contained in:
Leonid Yuriev
2019-08-25 03:05:58 +03:00
parent 7780b76cf0
commit 137d652d77
11 changed files with 101 additions and 83 deletions

View File

@@ -102,7 +102,7 @@ static
# ifdef _WIN64
const
# endif
PIMAGE_TLS_CALLBACK mdbx_tls_anchor __attribute__((section(".CRT$XLB"), used)) = mdbx_dll_callback;
PIMAGE_TLS_CALLBACK mdbx_tls_anchor __attribute__((__section__(".CRT$XLB"), used)) = mdbx_dll_callback;
#else
# error FIXME
#endif