X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2F_PDCLIB_threadconfig.h;h=516cc360e4eef39725ce3261c72645de6ee3bd80;hp=3380b5226c989f4b36e8ea0467605a16904a0bc1;hb=d7f375a09a9912bb18ad42f1442fbf64311bfed6;hpb=0bfd3aa28ccec8c35481fe04d1dc82a0f1f522e6 diff --git a/opt/nothread/_PDCLIB_threadconfig.h b/opt/nothread/_PDCLIB_threadconfig.h index 3380b52..516cc36 100644 --- a/opt/nothread/_PDCLIB_threadconfig.h +++ b/opt/nothread/_PDCLIB_threadconfig.h @@ -3,7 +3,9 @@ #include <_PDCLIB_aux.h> #include <_PDCLIB_config.h> -_PDCLIB_BEGIN_EXTERN_C +#ifdef __cplusplus +extern "C" { +#endif #define _PDCLIB_ONCE_FLAG_INIT 0 #define _PDCLIB_ONCE_FLAG_IS_DONE(_f) (*(_f) == 1) typedef char _PDCLIB_once_flag; @@ -20,5 +22,7 @@ struct _PDCLIB_tss { void *value; }; -_PDCLIB_END_EXTERN_C +#ifdef __cplusplus +} +#endif #endif