diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-06-14 08:53:31 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-06-14 08:53:31 +0000 |
commit | eb2255812ef749f866ab2be663505d4558adef05 (patch) | |
tree | a8114a7b736043e6b14d18ed24f8eb65c20b0cb1 /configure.in | |
parent | f2ad8701668b17c381f2af7da9ea30d32791fcb6 (diff) | |
download | libapr-eb2255812ef749f866ab2be663505d4558adef05.tar.gz |
Support POSIX semaphores on LP64 platforms:
* configure.in: Don't disable POSIX semaphore support on LP64
platforms.
* include/arch/unix/apr_arch_proc_mutex.h (struct apr_proc_mutex_t):
Add a sem_t pointer field.
* locks/unix/proc_mutex.c (proc_mutex_posix_create,
proc_mutex_posix_cleanup, proc_mutex_posix_acquire,
prox_mutex_posix_release): Use the sem_t pointer not the fd for the
semaphore.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65185 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 01f600490..01871721c 100644 --- a/configure.in +++ b/configure.in @@ -1492,8 +1492,6 @@ main() sem_t *psem; const char *sem_name = "/apr_autoconf"; - if (sizeof(int) < sizeof(sem_t *)) - exit(1); psem = sem_open(sem_name, O_CREAT, 0644, 1); if (psem == (sem_t *)SEM_FAILED) { exit(1); |