X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=internals%2F_PDCLIB_glue.h;h=ef224c70ce5a4c60b996764646fa357c0519b82b;hp=1d978638f8f46cce35c4c188864166b876f61b4f;hb=d7f375a09a9912bb18ad42f1442fbf64311bfed6;hpb=0bfd3aa28ccec8c35481fe04d1dc82a0f1f522e6 diff --git a/internals/_PDCLIB_glue.h b/internals/_PDCLIB_glue.h index 1d97863..ef224c7 100644 --- a/internals/_PDCLIB_glue.h +++ b/internals/_PDCLIB_glue.h @@ -1,16 +1,21 @@ -#ifndef __PDCLIB_GLUE_H -#define __PDCLIB_GLUE_H __PDCLIB_GLUE_H /* OS glue functions declaration <_PDCLIB_glue.h> This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. */ -#include <_PDCLIB_int.h> -#include <_PDCLIB_io.h> +#ifndef __PDCLIB_GLUE_H +#define __PDCLIB_GLUE_H __PDCLIB_GLUE_H + +#include "_PDCLIB_int.h" +#include "_PDCLIB_io.h" + #include #include -_PDCLIB_BEGIN_EXTERN_C + +#ifdef __cplusplus +extern "C" { +#endif /* -------------------------------------------------------------------------- */ /* OS "glue", part 2 */ @@ -69,5 +74,8 @@ int _PDCLIB_remove( const char * filename ); */ int _PDCLIB_rename( const char * old, const char * newn); -_PDCLIB_END_EXTERN_C +#ifdef __cplusplus +} +#endif + #endif