Util: include assert.h in pthreads_nosig.h when required
authorJeffrey Altman <jaltman@your-file-system.com>
Thu, 14 Oct 2010 22:18:40 +0000 (18:18 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Fri, 15 Oct 2010 06:30:59 +0000 (23:30 -0700)
commitc494161819c6c24e36ffaac4421735f0c7ecfbc5
treee9f2191c1eab740853d967e65d4bbc1b676b61f9
parent8652f146abc5406195b5170402fe4dfd939da9f0
Util: include assert.h in pthreads_nosig.h when required

If assert() will be used within pthreads_nosig.h, include assert.h.
Also, permit assert() to be a macro that is a no-op by always evaluating
the expression.

Change-Id: I8c790dcb8cb98f75028343e5de94b91ab891daad
Reviewed-on: http://gerrit.openafs.org/2988
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/util/pthread_nosigs.h