X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstring.h;h=c0efcaf21738250f937fe97246bea6ee18ff1dca;hb=c510d64eb2b5d70547b4d36f35ebd12809aabd32;hp=fcb1f3dc5cbc7a2e65b91bc40aa877ac0cf15a3e;hpb=e1c526e9bad3f6e69391e94059096145390508d3;p=pdclib diff --git a/includes/string.h b/includes/string.h index fcb1f3d..c0efcaf 100644 --- a/includes/string.h +++ b/includes/string.h @@ -1,4 +1,4 @@ -/* 7.21 String handling +/* String handling This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. @@ -7,7 +7,10 @@ #ifndef _PDCLIB_STRING_H #define _PDCLIB_STRING_H _PDCLIB_STRING_H #include <_PDCLIB_int.h> -_PDCLIB_BEGIN_EXTERN_C + +#ifdef __cplusplus +extern "C" { +#endif #ifndef _PDCLIB_SIZE_T_DEFINED #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED @@ -206,5 +209,8 @@ size_t strlcat( size_t _DstSize) _PDCLIB_nothrow; #endif -_PDCLIB_END_EXTERN_C +#ifdef __cplusplus +} +#endif + #endif