summaryrefslogtreecommitdiff
path: root/argp/argp-parse.c
diff options
context:
space:
mode:
authorAlain Magloire <alainm@gnu.org>2001-04-16 02:26:31 +0000
committerAlain Magloire <alainm@gnu.org>2001-04-16 02:26:31 +0000
commitb13877db6956665d13bf6ed1a4000ac687b13a25 (patch)
treeb73955b3dbcc16588e4b886bbd814a23f445cd24 /argp/argp-parse.c
parentd1ba2067d0eb2537f3ed7b10d2e22455cf84a740 (diff)
downloadmailutils-b13877db6956665d13bf6ed1a4000ac687b13a25.tar.gz
mailutils-b13877db6956665d13bf6ed1a4000ac687b13a25.tar.bz2
Create a argp directory, it contains the necessary
files to build a standalone libargp.a * argp: New directory. argp-ba.c, argp-eexst.c, argp-fmtstream.c, argp-fmtstream.h argp-fs-xinl.c, argp-help.c, argp-namefrob.h, argp-parse.c argp-pv.c, argp-pvh.c, argp-xinl.c, argp.h, pin.c. * mail/mail.c: Comment out the code that use readline specifics WITH_READLINE. * mail/mail.h: Likewised. * mail/util.c: Likewised. And still mail will not compile for QNX ... #&*#$^&#^)(
Diffstat (limited to 'argp/argp-parse.c')
-rw-r--r--argp/argp-parse.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/argp/argp-parse.c b/argp/argp-parse.c
index cdbc322c5..f04537cba 100644
--- a/argp/argp-parse.c
+++ b/argp/argp-parse.c
@@ -217,12 +217,7 @@ static struct mutex getopt_lock = MUTEX_INITIALIZER;
#define LOCK_GETOPT mutex_lock (&getopt_lock)
#define UNLOCK_GETOPT mutex_unlock (&getopt_lock)
-#elif defined(HAVE_PTHREAD_H)
-static struct pthread_mutex_t getopt_lock = PTHREAD_MUTEX_INITIALIZER;
-#define LOCK_GETOPT pthread_mutex_lock (&getopt_lock)
-#define UNLOCK_GETOPT pthread_mutex_unlock (&getopt_lock)
-
-#else /* !HAVE_CTHREADS_H !HAVE_PTHREAD_H */
+#else /* !HAVE_CTHREADS_H */
#define LOCK_GETOPT (void)0
#define UNLOCK_GETOPT (void)0

Return to:

Send suggestions and report system problems to the System administrator.