forked from Imagelibrary/rtems
2001-08-30 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/posix/mqueue.inl: Add cast so negation works.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2001-08-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* macros/rtems/posix/mqueue.inl: Add cast so negation works.
|
||||||
|
|
||||||
2001-08-16 Joel Sherrill <joel@OARcorp.com>
|
2001-08-16 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* src/mqueuesendsupp.c: Account for possibly blocking during the
|
* src/mqueuesendsupp.c: Account for possibly blocking during the
|
||||||
|
|||||||
@@ -73,7 +73,9 @@
|
|||||||
|
|
||||||
/* absolute value without a library dependency */
|
/* absolute value without a library dependency */
|
||||||
#define _POSIX_Message_queue_Priority_from_core( _priority ) \
|
#define _POSIX_Message_queue_Priority_from_core( _priority ) \
|
||||||
((((_priority) >= 0) ? (_priority) : -(_priority)))
|
((((CORE_message_queue_Submit_types)(_priority)) >= 0) ? \
|
||||||
|
(_priority) : \
|
||||||
|
-((CORE_message_queue_Submit_types)(_priority)))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/* end of include file */
|
/* end of include file */
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2001-08-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* macros/rtems/posix/mqueue.inl: Add cast so negation works.
|
||||||
|
|
||||||
2001-08-16 Joel Sherrill <joel@OARcorp.com>
|
2001-08-16 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* src/mqueuesendsupp.c: Account for possibly blocking during the
|
* src/mqueuesendsupp.c: Account for possibly blocking during the
|
||||||
|
|||||||
@@ -73,7 +73,9 @@
|
|||||||
|
|
||||||
/* absolute value without a library dependency */
|
/* absolute value without a library dependency */
|
||||||
#define _POSIX_Message_queue_Priority_from_core( _priority ) \
|
#define _POSIX_Message_queue_Priority_from_core( _priority ) \
|
||||||
((((_priority) >= 0) ? (_priority) : -(_priority)))
|
((((CORE_message_queue_Submit_types)(_priority)) >= 0) ? \
|
||||||
|
(_priority) : \
|
||||||
|
-((CORE_message_queue_Submit_types)(_priority)))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/* end of include file */
|
/* end of include file */
|
||||||
|
|||||||
Reference in New Issue
Block a user