Allow use with pre-release version of RTEMS-4.9.

This commit is contained in:
W. Eric Norum
2008-04-01 18:16:29 +00:00
parent d91feefcac
commit e1d28a495a

View File

@@ -418,7 +418,7 @@ void epicsThreadGetName (epicsThreadId id, char *name, size_t size)
}
taskVarUnlock ();
if (!haveName) {
#if ((__RTEMS_MAJOR__ >= 4) && (__RTEMS_MINOR__ >= 9))
#if ((__RTEMS_MAJOR__ >= 4) && (__RTEMS_MINOR__ >= 8) && (__RTEMS_REVISION__ >= 99))
if (_Objects_Get_name_as_string(id, size, name) != NULL)
haveName = 1;
#else