X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Ftss_errno%2Ferrno.h;h=ef8f1f64923b728431a0de063806376cb4dbdee9;hp=3b3feab67ac5b920e76b9f40de4f68901c924b56;hb=d7f375a09a9912bb18ad42f1442fbf64311bfed6;hpb=0bfd3aa28ccec8c35481fe04d1dc82a0f1f522e6 diff --git a/opt/tss_errno/errno.h b/opt/tss_errno/errno.h index 3b3feab..ef8f1f6 100644 --- a/opt/tss_errno/errno.h +++ b/opt/tss_errno/errno.h @@ -1,4 +1,4 @@ -/* 7.5 Errors +/* Errors This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. @@ -9,7 +9,9 @@ #include <_PDCLIB_int.h> -_PDCLIB_BEGIN_EXTERN_C +#ifdef __cplusplus +extern "C" { +#endif extern int * _PDCLIB_errno_func( void ); #define errno (*_PDCLIB_errno_func()) @@ -96,6 +98,8 @@ extern int * _PDCLIB_errno_func( void ); #define EWOULDBLOCK _PDCLIB_EWOULDBLOCK #define EXDEV _PDCLIB_EXDEV -_PDCLIB_END_EXTERN_C +#ifdef __cplusplus +} +#endif #endif