fix for os x build
authorCharlie Lenahan <charlie.lenahan@intel.com>
Mon, 13 Apr 2015 21:26:28 +0000 (17:26 -0400)
committerErich Keane <erich.keane@intel.com>
Mon, 13 Apr 2015 22:23:44 +0000 (22:23 +0000)
commit438ead65f9f745699c97c59d51069d8a366a216b
treef95aa4d8bf8a558378f2a9ff6ad942426c6cbf5b
parent7cfd6a0389076d3f7a3f7298ab339088ccbce100
fix for os x build

This is a followup to https://gerrit.iotivity.org/gerrit/#/c/677/
Apple defines _POSIX_TIMERS as (-1) , thus the need to check for
both

Change-Id: I8a852febd45133177706a1d529040fce704200f9
Signed-off-by: Charlie Lenahan <charlie.lenahan@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/706
Reviewed-by: Thuyen Tran <thuyen.c.tran@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/logger/src/logger.c