]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - include/filenames.h
Merge commit 'upstream/2.20'
[msp430-binutils.git] / include / filenames.h
index 5338208e0242dcfb8e9786b0319f2d249166172c..0d411cc12649299329ed45474d21b1d204e029b0 100644 (file)
@@ -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 */