mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-06-11 09:40:11 -04:00
ITS#10504 lmdb: silence warning on MacOS linker
This commit is contained in:
parent
62129b7426
commit
83992afea7
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ union semun {
|
|||
/* On older compilers, use a separate section */
|
||||
# ifdef __GNUC__
|
||||
# ifdef __APPLE__
|
||||
# define ESECT __attribute__ ((section("__TEXT,text_env")))
|
||||
# define ESECT __attribute__ ((section("__TEXT,text_env,regular,pure_instructions")))
|
||||
# else
|
||||
# define ESECT __attribute__ ((section("text_env")))
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue