Skip to content

Commit

Permalink
Merge pull request #1442 from jphickey:fix-1441-rtems411-setname
Browse files Browse the repository at this point in the history
Fix #1441, patch build for old RTEMS
  • Loading branch information
dzbaker committed Jan 17, 2024
2 parents 669dd0e + 0d433cf commit b586499
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/os/rtems/inc/os-rtems.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
#define OSAL_UNRESOLVED_SYMBOL rtems_rtl_unresolved_name
#define OSAL_UNRESOLVED_ITERATE rtems_rtl_unresolved_interate

/* RTEMS 4.x does not implement thread names, so this becomes a no-op */
#define pthread_setname_np(...)

#else

#define OSAL_HEAP_INFO_BLOCK Heap_Information_block
Expand Down

0 comments on commit b586499

Please sign in to comment.