summaryrefslogtreecommitdiff
path: root/ace/os_include/fmtmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include/fmtmsg.h')
-rw-r--r--ace/os_include/fmtmsg.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/ace/os_include/fmtmsg.h b/ace/os_include/fmtmsg.h
index d87d4276d5d..2dec1e22c1c 100644
--- a/ace/os_include/fmtmsg.h
+++ b/ace/os_include/fmtmsg.h
@@ -2,19 +2,19 @@
//=============================================================================
/**
- * @file fmtmsg.h
+ * @file os_fmtmsg.h
*
* message display structures
*
* $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_FMTMSG_H
-#define ACE_OS_INCLUDE_FMTMSG_H
+#ifndef ACE_OS_INCLUDE_OS_FMTMSG_H
+#define ACE_OS_INCLUDE_OS_FMTMSG_H
#include "ace/pre.h"
@@ -28,5 +28,15 @@
# include /**/ <fmtmsg.h>
#endif /* !ACE_LACKS_FMTMSG_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_FMTMSG_H */
+#endif /* ACE_OS_INCLUDE_OS_FMTMSG_H */