X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=include%2Ffilenames.h;fp=include%2Ffilenames.h;h=0d411cc12649299329ed45474d21b1d204e029b0;hp=5338208e0242dcfb8e9786b0319f2d249166172c;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/include/filenames.h b/include/filenames.h index 5338208..0d411cc 100644 --- a/include/filenames.h +++ b/include/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 */