Fix elf64-ppc.c electric fence warning
[deliverable/binutils-gdb.git] / gdb / common / common-defs.h
index 4d2e8a73bb61a787e3066f0607d1b2b7a220090f..62d9de510644a499fce218cb0b1700c03da8c0dc 100644 (file)
@@ -1,6 +1,6 @@
 /* Common definitions.
 
-   Copyright (C) 1986-2014 Free Software Foundation, Inc.
+   Copyright (C) 1986-2015 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <string.h>
 #include <errno.h>
+#include <alloca.h>
 #include "ansidecl.h"
 #include "libiberty.h"
 #include "pathmax.h"
 #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
+
 #endif /* COMMON_DEFS_H */
This page took 0.032658 seconds and 4 git commands to generate.