summaryrefslogtreecommitdiff
path: root/ACE/ace/os_include/os_unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/os_include/os_unistd.h')
-rw-r--r--ACE/ace/os_include/os_unistd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ACE/ace/os_include/os_unistd.h b/ACE/ace/os_include/os_unistd.h
index 942a40c431f..55235d30398 100644
--- a/ACE/ace/os_include/os_unistd.h
+++ b/ACE/ace/os_include/os_unistd.h
@@ -51,6 +51,18 @@
# include /**/ <hostLib.h>
#endif /* ACE_VXWORKS */
+#ifdef ACE_MQX
+# if !defined (STDIN_FILENO) && defined (_LLIO_STDIN)
+# define STDIN_FILENO (_LLIO_STDIN)
+# endif
+# if !defined (STDOUT_FILENO) && defined (_LLIO_STDOUT)
+# define STDOUT_FILENO (_LLIO_STDOUT)
+# endif
+# if !defined (STDERR_FILENO) && defined (_LLIO_STDERR)
+# define STDERR_FILENO (_LLIO_STDERR)
+# endif
+#endif
+
// Place all additions (especially function declarations) within extern "C" {}
#ifdef __cplusplus
extern "C"