summaryrefslogtreecommitdiff
path: root/gcc/go/go-c.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/go-c.h')
-rw-r--r--gcc/go/go-c.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/go/go-c.h b/gcc/go/go-c.h
index d46a08796e3..a7f7b1fe2f2 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) */