mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
2012-03-01 Pedro Alves <palves@redhat.com>
* jit-reader.in (plugin_is_GPL_compatible): Add declarations for both __cplusplus and !__cplusplus.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* jit-reader.in (plugin_is_GPL_compatible): Add declarations for
|
||||||
|
both __cplusplus and !__cplusplus.
|
||||||
|
|
||||||
2012-03-01 Pedro Alves <palves@redhat.com>
|
2012-03-01 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* psymtab.c (find_and_open_source): Delete declaration.
|
* psymtab.c (find_and_open_source): Delete declaration.
|
||||||
|
@ -36,6 +36,7 @@ extern "C" {
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define GDB_DECLARE_GPL_COMPATIBLE_READER \
|
#define GDB_DECLARE_GPL_COMPATIBLE_READER \
|
||||||
extern "C" { \
|
extern "C" { \
|
||||||
|
extern int plugin_is_GPL_compatible (void); \
|
||||||
extern int plugin_is_GPL_compatible (void) \
|
extern int plugin_is_GPL_compatible (void) \
|
||||||
{ \
|
{ \
|
||||||
return 0; \
|
return 0; \
|
||||||
@ -45,6 +46,7 @@ extern "C" {
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
#define GDB_DECLARE_GPL_COMPATIBLE_READER
|
#define GDB_DECLARE_GPL_COMPATIBLE_READER
|
||||||
|
extern int plugin_is_GPL_compatible (void); \
|
||||||
extern int plugin_is_GPL_compatible (void) \
|
extern int plugin_is_GPL_compatible (void) \
|
||||||
{ \
|
{ \
|
||||||
return 0; \
|
return 0; \
|
||||||
|
Reference in New Issue
Block a user