summaryrefslogtreecommitdiff
path: root/ACE
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-11-30 20:14:51 +0100
committerGitHub <noreply@github.com>2020-11-30 20:14:51 +0100
commit7de2739dd4a1fc102abd44161ec15bf97cf66f32 (patch)
treea6656c8c7532d387c0ed196a574b58fa24c0a8fc /ACE
parente830eb13689c10e31c2a8acadb7bf532e9f87285 (diff)
downloadATCD-7de2739dd4a1fc102abd44161ec15bf97cf66f32.tar.gz
Update ACE/ace/Time_Value.inl
Co-authored-by: Fred Hornsey <fred@hornsey.us>
Diffstat (limited to 'ACE')
-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 2471feda67f..a06bd1be18d 100644
--- a/ACE/ace/Time_Value.inl
+++ b/ACE/ace/Time_Value.inl
@@ -57,7 +57,7 @@ ACE_Time_Value::set (time_t sec, suseconds_t usec)
// ACE_OS_TRACE ("ACE_Time_Value::set");
this->tv_.tv_sec = sec;
this->tv_.tv_usec = usec;
-#if __GNUC__
+#ifdef __GNUC__
if ((__builtin_constant_p(sec) &
__builtin_constant_p(usec)) &&
(sec >= 0 && usec >= 0 && usec < ACE_ONE_SECOND_IN_USECS))