summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaryN4 <gary.nicholls@adaptivemobile.com>2016-09-15 15:43:46 +0100
committerGitHub <noreply@github.com>2016-09-15 15:43:46 +0100
commit6cfd75bc1a5c717739f37a369ab82be4089c1a3d (patch)
treefd7be095f6edf67d642646c38377a8f99f611dff
parent7dfbcfae901c1431702549a81cc47d1fd43a61bb (diff)
downloadATCD-6cfd75bc1a5c717739f37a369ab82be4089c1a3d.tar.gz
Update Time_Value.inl
-rw-r--r--ACE/ace/Time_Value.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Time_Value.inl b/ACE/ace/Time_Value.inl
index 98459b47713..f748f21b240 100644
--- a/ACE/ace/Time_Value.inl
+++ b/ACE/ace/Time_Value.inl
@@ -58,7 +58,7 @@ ACE_Time_Value::set (time_t sec, suseconds_t usec)
this->tv_.tv_sec = sec;
this->tv_.tv_usec = usec;
#if __GNUC__ && !(__GNUC__ == 3 && __GNUC_MINOR__ == 4)
- if ((__builtin_constant_p(sec) &
+ if ((__builtin_constant_p(sec) &&
__builtin_constant_p(usec)) &&
(sec >= 0 && usec >= 0 && usec < ACE_ONE_SECOND_IN_USECS))
return;