diff options
author | Alain Magloire <alainm@gnu.org> | 2001-04-16 02:26:31 +0000 |
---|---|---|
committer | Alain Magloire <alainm@gnu.org> | 2001-04-16 02:26:31 +0000 |
commit | b13877db6956665d13bf6ed1a4000ac687b13a25 (patch) | |
tree | b73955b3dbcc16588e4b886bbd814a23f445cd24 /argp/argp-parse.c | |
parent | d1ba2067d0eb2537f3ed7b10d2e22455cf84a740 (diff) | |
download | mailutils-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.c | 7 |
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 |