Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: gcc/config/i386/nacl.h

Issue 7134018: Don't wrap system headers with extern "C" (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: Ready for commit Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/config/i386/nacl.h
diff --git a/gcc/config/i386/nacl.h b/gcc/config/i386/nacl.h
index ae36d7a21f0b35834ef66f5df9b35db9b9097862..8643f9ea923d49f0a20944e98d701b8c49cc5379 100644
--- a/gcc/config/i386/nacl.h
+++ b/gcc/config/i386/nacl.h
@@ -37,6 +37,9 @@ Boston, MA 02111-1307, USA. */
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (NativeClient)");
+/* Don't enclose system header files in extern "C" {...}. */
+#define NO_IMPLICIT_EXTERN_C
+
/* Provide a STARTFILE_SPEC. Here we add
the GNU/Linux magical crtbegin.o file (see crtstuff.c) which provides part of
the support for getting C++ file-scope static object constructed before
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698