aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/common-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/common-defs.h')
-rw-r--r--gdb/common/common-defs.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h
index 2c94117..0d8d100 100644
--- a/gdb/common/common-defs.h
+++ b/gdb/common/common-defs.h
@@ -75,14 +75,8 @@
#include "cleanups.h"
#include "common-exceptions.h"
-#ifdef __cplusplus
-# define EXTERN_C extern "C"
-# define EXTERN_C_PUSH extern "C" {
-# define EXTERN_C_POP }
-#else
-# define EXTERN_C extern
-# define EXTERN_C_PUSH
-# define EXTERN_C_POP
-#endif
+#define EXTERN_C extern "C"
+#define EXTERN_C_PUSH extern "C" {
+#define EXTERN_C_POP }
#endif /* COMMON_DEFS_H */