mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
ITS#7892 Fix MacOSX section name
This commit is contained in:
parent
e1a676eb18
commit
2f04728471
1 changed files with 5 additions and 1 deletions
|
|
@ -152,7 +152,11 @@
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
/** Put infrequently used env functions in separate section */
|
/** Put infrequently used env functions in separate section */
|
||||||
#define ESECT __attribute__ ((section("text_env")))
|
# ifdef __APPLE__
|
||||||
|
# define ESECT __attribute__ ((section("__TEXT,text_env")))
|
||||||
|
# else
|
||||||
|
# define ESECT __attribute__ ((section("text_env")))
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
#define ESECT
|
#define ESECT
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue