Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion lmdb/cbits/mdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,12 @@ typedef SSIZE_T ssize_t;
#ifdef __GNUC__
/** Put infrequently used env functions in separate section */
# ifdef __APPLE__
# define ESECT __attribute__ ((section("__TEXT,text_env")))
# if defined(__x86_64)
# define ESECT __attribute__ ((section("__TEXT,text_env")))
# else
/* This causes a linker error B/BL out of range on arm64 */
# define ESECT
# endif
# else
# define ESECT __attribute__ ((section("text_env")))
# endif
Expand Down