added otp macro

Change-Id: I05677460dd8cc25700da8bfe6d4bb40faec19401
Reviewed-on: http://review.couchbase.org/35368
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>