mirror of
https://github.com/wownero/wownero.git
synced 2026-10-21 17:38:33 +02:00
lmdb: mark Apple text_env section as code
This commit is contained in:
Vendored
+1
-1
@@ -247,7 +247,7 @@ union semun {
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
/** Put infrequently used env functions in separate section */
|
/** Put infrequently used env functions in separate section */
|
||||||
# ifdef __APPLE__
|
# ifdef __APPLE__
|
||||||
# define ESECT __attribute__ ((section("__TEXT,text_env")))
|
# define ESECT __attribute__ ((section("__TEXT,text_env,regular,pure_instructions")))
|
||||||
# else
|
# else
|
||||||
# define ESECT __attribute__ ((section("text_env")))
|
# define ESECT __attribute__ ((section("text_env")))
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
Reference in New Issue
Block a user