Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(69)

Unified Diff: gcc/go/go-c.h

Issue 6296093: [cxx-conversion] Remove option to build without a C++ compiler
Patch Set: Created 13 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/go/ChangeLog.cxx-conversion ('k') | gcc/go/go-gcc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/go/go-c.h
diff --git a/gcc/go/go-c.h b/gcc/go/go-c.h
index d46a087..a7f7b1f 100644
--- a/gcc/go/go-c.h
+++ b/gcc/go/go-c.h
@@ -20,16 +20,7 @@ along with GCC; see the file COPYING3. If not see
#ifndef GO_GO_C_H
#define GO_GO_C_H
-#ifdef ENABLE_BUILD_WITH_CXX
#define GO_EXTERN_C
-#else
-#define GO_EXTERN_C extern "C"
-#endif
-
-#if defined(__cplusplus) && !defined(ENABLE_BUILD_WITH_CXX)
-extern "C"
-{
-#endif
#include "machmode.h"
@@ -71,8 +62,4 @@ extern const char *go_read_export_data (int, off_t, char **, size_t *, int *);
extern GTY(()) tree go_non_zero_struct;
-#if defined(__cplusplus) && !defined(ENABLE_BUILD_WITH_CXX)
-} /* End extern "C". */
-#endif
-
#endif /* !defined(GO_GO_C_H) */
« no previous file with comments | « gcc/go/ChangeLog.cxx-conversion ('k') | gcc/go/go-gcc.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b