X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Fstring.h;h=8e4db1e2825a2243611ffc91ae90b954d26cfcd9;hp=27441df467bdec14c24b58465c2b99bef2ce33a0;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=d76803848725e4de75b019158fb640722c3ea28c diff --git a/includes/string.h b/includes/string.h index 27441df..8e4db1e 100644 --- a/includes/string.h +++ b/includes/string.h @@ -1,6 +1,4 @@ -/* $Id$ */ - -/* 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. @@ -8,8 +6,11 @@ #ifndef _PDCLIB_STRING_H #define _PDCLIB_STRING_H _PDCLIB_STRING_H -#include <_PDCLIB_int.h> -_PDCLIB_BEGIN_EXTERN_C +#include "_PDCLIB_int.h" + +#ifdef __cplusplus +extern "C" { +#endif #ifndef _PDCLIB_SIZE_T_DEFINED #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED @@ -208,5 +209,8 @@ size_t strlcat( size_t _DstSize) _PDCLIB_nothrow; #endif -_PDCLIB_END_EXTERN_C +#ifdef __cplusplus +} +#endif + #endif