Unix CM: Simplify #ifdef ladder in lock.h
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 4 Feb 2010 12:23:58 +0000 (12:23 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 9 Feb 2010 16:46:08 +0000 (08:46 -0800)
commit8459dc317bc6393d23f1afee0b211bcbdb9a5601
tree333c8d8f35eee908b993e198273504d85a205e19
parent8e1d140d107b46ac0a88c544289b8d29f1542ede
Unix CM: Simplify #ifdef ladder in lock.h

Hugely simplify the ifdef ladder in lock.h, by using #elif, rather than
multiple levels of nested ifdefs

Change-Id: I8fc730242decab0a0f864a9814c6c47c9974b496
Reviewed-on: http://gerrit.openafs.org/1241
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/lock.h