summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/include/rtems/score/status.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/cpukit/score/include/rtems/score/status.h b/cpukit/score/include/rtems/score/status.h
index 2695a03f1a..5b154bb207 100644
--- a/cpukit/score/include/rtems/score/status.h
+++ b/cpukit/score/include/rtems/score/status.h
@@ -17,10 +17,8 @@
#include <rtems/score/basedefs.h>
-#if defined(RTEMS_POSIX_API)
#include <errno.h>
#include <pthread.h>
-#endif
#ifdef __cplusplus
extern "C" {
@@ -51,13 +49,8 @@ typedef enum {
/**
* @brief Macro to build a status code from Classic and POSIX API parts.
*/
-#if defined(RTEMS_POSIX_API)
- #define STATUS_BUILD( classic_status, posix_status ) \
- ( ( ( (unsigned int) ( posix_status ) ) << 8 ) | ( classic_status ) )
-#else
- #define STATUS_BUILD( classic_status, posix_status ) \
- ( classic_status )
-#endif
+#define STATUS_BUILD( classic_status, posix_status ) \
+ ( ( ( (unsigned int) ( posix_status ) ) << 8 ) | ( classic_status ) )
/**
* @brief Macro to get the Classic API status code.