Use correct conditional.
This commit is contained in:
1 parent
bc3584c834
commit
2a9ccaf2c0
1 file changed
+1
-1
@@ -418,7 +418,7 @@ void epicsThreadGetName (epicsThreadId id, char *name, size_t size)
|
||||
}
|
||||
taskVarUnlock ();
|
||||
if (!haveName) {
|
||||
#if ((__RTEMS_MAJOR__ >= 4) && (__RTEMS_MINOR__ >= 8) && (__RTEMS_REVISION__ >= 99))
|
||||
#if (__RTEMS_MAJOR__>4 || (__RTEMS_MAJOR__==4 && __RTEMS_MINOR__>8) || (__RTEMS_MAJOR__==4 && __RTEMS_MINOR__==8 && __RTEMS_REVISION__>=99))
|
||||
if (_Objects_Get_name_as_string(id, size, name) != NULL)
|
||||
haveName = 1;
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user