summaryrefslogtreecommitdiff
path: root/ace/os_include/spawn.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include/spawn.h')
-rw-r--r--ace/os_include/spawn.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/ace/os_include/spawn.h b/ace/os_include/spawn.h
index 79d2f12f221..5de1490d57b 100644
--- a/ace/os_include/spawn.h
+++ b/ace/os_include/spawn.h
@@ -2,19 +2,19 @@
//=============================================================================
/**
- * @file spawn.h
+ * @file os_spawn.h
*
* spawn (ADVANCED REALTIME)
*
* $Id$
*
- * @author Don Hinton <dhinton@ieee.org>
+ * @author Don Hinton <dhinton@dresystems.com>
* @author This code was originally in various places including ace/OS.h.
*/
//=============================================================================
-#ifndef ACE_OS_INCLUDE_SPAWN_H
-#define ACE_OS_INCLUDE_SPAWN_H
+#ifndef ACE_OS_INCLUDE_OS_SPAWN_H
+#define ACE_OS_INCLUDE_OS_SPAWN_H
#include "ace/pre.h"
@@ -32,5 +32,15 @@
# include /**/ <spawn.h>
#endif /* !ACE_LACKS_SPAWN_H */
+// Place all additions (especially function declarations) within extern "C" {}
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#include "ace/post.h"
-#endif /* ACE_OS_INCLUDE_SPAWN_H */
+#endif /* ACE_OS_INCLUDE_OS_SPAWN_H */