PR driver/35665
* collect2.c (write_c_file): Don't wrap in "#ifdef __cplusplus".
From-SVN: r134116
+2008-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR driver/35665
+ * collect2.c (write_c_file): Don't wrap in "#ifdef __cplusplus".
+
2008-04-09 Richard Guenther <rguenther@suse.de>
* tree-cfg.c (verify_stmt): Print complete bogus stmt.
static void
write_c_file (FILE *stream, const char *name)
{
- fprintf (stream, "#ifdef __cplusplus\nextern \"C\" {\n#endif\n");
#ifndef LD_INIT_SWITCH
if (! shared_obj)
write_c_file_glob (stream, name);
else
#endif
write_c_file_stat (stream, name);
- fprintf (stream, "#ifdef __cplusplus\n}\n#endif\n");
}
#ifdef COLLECT_EXPORT_LIST