X-Git-Url: https://git.gag.com/?p=fw%2Fsdcc;a=blobdiff_plain;f=support%2Fcpp%2Flibiberty%2Ffilenames.h;fp=support%2Fcpp%2Flibiberty%2Ffilenames.h;h=28e6aa69df8295fb7af92f0a6bbe322387b089e3;hp=c82950f4c11aae89553a5d987fbd4f575889f28b;hb=15bebb5458d3dfc30d8dd147c0cc74e8a766f7d0;hpb=124d1fe4fa35a4c642b073bde8f45004326d1192 diff --git a/support/cpp/libiberty/filenames.h b/support/cpp/libiberty/filenames.h index c82950f4..28e6aa69 100644 --- a/support/cpp/libiberty/filenames.h +++ b/support/cpp/libiberty/filenames.h @@ -26,6 +26,10 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. #ifndef FILENAMES_H #define FILENAMES_H +#ifdef __cplusplus +extern "C" { +#endif + #if defined(__MSDOS__) || defined(_WIN32) || defined(__OS2__) || defined (__CYGWIN__) #ifndef HAVE_DOS_BASED_FILE_SYSTEM @@ -49,4 +53,8 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. extern int filename_cmp (const char *s1, const char *s2); #define FILENAME_CMP(s1, s2) filename_cmp(s1, s2) +#ifdef __cplusplus +} +#endif + #endif /* FILENAMES_H */