diff options
Diffstat (limited to 'ace/os_include/inttypes.h')
-rw-r--r-- | ace/os_include/inttypes.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/ace/os_include/inttypes.h b/ace/os_include/inttypes.h index 68f83c74775..40481926845 100644 --- a/ace/os_include/inttypes.h +++ b/ace/os_include/inttypes.h @@ -2,19 +2,19 @@ //============================================================================= /** - * @file inttypes.h + * @file os_inttypes.h * * fixed size integer types * * $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_INTTYPES_H -#define ACE_OS_INCLUDE_INTTYPES_H +#ifndef ACE_OS_INCLUDE_OS_INTTYPES_H +#define ACE_OS_INCLUDE_OS_INTTYPES_H #include "ace/pre.h" @@ -30,7 +30,17 @@ # include /**/ <inttypes.h> #endif /* !ACE_LACKS_INTTYPES_H */ +// Place all additions (especially function declarations) within extern "C" {} +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + // @todo if needbe, we can define the macros if they aren't available. +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #include "ace/post.h" -#endif /* ACE_OS_INCLUDE_INTTYPES_H */ +#endif /* ACE_OS_INCLUDE_OS_INTTYPES_H */ |