diff options
Diffstat (limited to 'include/m_string.h')
-rw-r--r-- | include/m_string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_string.h b/include/m_string.h index c02ce92cd88..c580e38e177 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -84,7 +84,7 @@ # define bmove_align(A,B,C) memcpy((A),(B),(C)) #endif -#if defined(__cplusplus) && !defined(OS2) +#if defined(__cplusplus) extern "C" { #endif @@ -256,7 +256,7 @@ extern int my_vsnprintf( char *str, size_t n, const char *format, va_list ap ); extern int my_snprintf(char* to, size_t n, const char* fmt, ...); -#if defined(__cplusplus) && !defined(OS2) +#if defined(__cplusplus) } #endif #endif |