diff options
author | athenian200 <athenian200@outlook.com> | 2020-07-29 18:52:42 -0500 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-30 09:36:55 +0000 |
commit | 922a72766caa4a833f5775b17e4729ae5f79260d (patch) | |
tree | 6b5016adc70709a73b31a922b2319c56eb28fa55 /ldap/c-sdk/common.mozbuild | |
parent | 0387f52bd34c761c51fc3d52e84f8b99d39df8c9 (diff) | |
download | UXP-922a72766caa4a833f5775b17e4729ae5f79260d.tar UXP-922a72766caa4a833f5775b17e4729ae5f79260d.tar.gz UXP-922a72766caa4a833f5775b17e4729ae5f79260d.tar.lz UXP-922a72766caa4a833f5775b17e4729ae5f79260d.tar.xz UXP-922a72766caa4a833f5775b17e4729ae5f79260d.zip |
Issue #1615 - SunOS LDAP cleanup.
I meant to do this a long time ago, but basically it accounts for the new XP_SOLARIS build flag that never made it into the MailNews code. Additionally, it enables a compatibility flag for Solaris 11.4 that allows us to use the three-argument implementation of ctime_r still used by Solaris 11.3 and illumos (which also appears equivalent to the NSLDAPI_CTIME implementation used by libldap internally). Also, the ctime_r function has been added to the time.h header library for a while now, not sure why Mozilla thought we didn't have a ctime_r implementation.
Diffstat (limited to 'ldap/c-sdk/common.mozbuild')
-rw-r--r-- | ldap/c-sdk/common.mozbuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ldap/c-sdk/common.mozbuild b/ldap/c-sdk/common.mozbuild index 4377982c5..e335f230a 100644 --- a/ldap/c-sdk/common.mozbuild +++ b/ldap/c-sdk/common.mozbuild @@ -17,6 +17,8 @@ elif CONFIG['OS_TARGET'] in ('OpenBSD', 'FreeBSD', 'NetBSD'): DEFINES[CONFIG['OS_TARGET'].upper()] = True elif CONFIG['OS_ARCH'] == 'WINNT': DEFINES['_WINDOWS'] = True +elif CONFIG['OS_ARCH'] == 'SunOS': + DEFINES['__USE_DRAFT6_PROTOTYPES__'] = True DEFINES['_PR_PTHREADS'] = True DEFINES['NET_SSL'] = True |