diff options
author | Nathan Kinder <nkinder@redhat.com> | 2008-10-29 19:16:29 +0000 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2008-10-29 19:16:29 +0000 |
commit | 06e865cf81bb9f877258e91441205a27d619c478 (patch) | |
tree | 2f8261dddd2d84b8564ecf4931f56b35c81f38e8 /ldap/servers/snmp | |
parent | f25db4aae70b7818cdbdbe71e95345689dc4faf8 (diff) | |
download | ds-06e865cf81bb9f877258e91441205a27d619c478.tar.gz ds-06e865cf81bb9f877258e91441205a27d619c478.tar.xz ds-06e865cf81bb9f877258e91441205a27d619c478.zip |
Resolves: 207457
Summary: Added 64-bit atomic functions for platforms lacking built-ins.
Diffstat (limited to 'ldap/servers/snmp')
-rw-r--r-- | ldap/servers/snmp/ldap-agent.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ldap/servers/snmp/ldap-agent.h b/ldap/servers/snmp/ldap-agent.h index cb7a395d..30253d1c 100644 --- a/ldap/servers/snmp/ldap-agent.h +++ b/ldap/servers/snmp/ldap-agent.h @@ -79,7 +79,10 @@ extern "C" { #ifdef HPUX /* HP-UX doesn't define SEM_FAILED like other platforms, so - * * we define it ourselves. */ + * we define it ourselves. We make this define HP-UX specific + * since sem_open() doesn't seem to return the same value on + * all platforms in a failure case (it's 1 on some platforms, + * and 0 on others). */ #define SEM_FAILED ((sem_t *)(-1)) #endif |