mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx: use underscores for GNU-attributes.
Change-Id: Iefd371dd91da1db8ee86554208536b3004535317
This commit is contained in:
committed by
Leo Yuriev
parent
2db93efb14
commit
2356f3281b
8
mdbx.h
8
mdbx.h
@@ -623,8 +623,8 @@ typedef pthread_t mdbx_tid_t;
|
||||
|
||||
#ifndef __dll_export
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
#if defined(__GNUC__) || __has_attribute(dllexport)
|
||||
#define __dll_export __attribute__((dllexport))
|
||||
#if defined(__GNUC__) || __has_attribute(__dllexport__)
|
||||
#define __dll_export __attribute__((__dllexport__))
|
||||
#elif defined(_MSC_VER)
|
||||
#define __dll_export __declspec(dllexport)
|
||||
#else
|
||||
@@ -639,8 +639,8 @@ typedef pthread_t mdbx_tid_t;
|
||||
|
||||
#ifndef __dll_import
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
#if defined(__GNUC__) || __has_attribute(dllimport)
|
||||
#define __dll_import __attribute__((dllimport))
|
||||
#if defined(__GNUC__) || __has_attribute(__dllimport__)
|
||||
#define __dll_import __attribute__((__dllimport__))
|
||||
#elif defined(_MSC_VER)
|
||||
#define __dll_import __declspec(dllimport)
|
||||
#else
|
||||
|
Reference in New Issue
Block a user