diff options
author | Pedro Alves <pedro@codesourcery.com> | 2012-03-01 21:09:55 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2012-03-01 21:09:55 +0000 |
commit | df19014971c3df33ff240b1ad1390fa50d81217e (patch) | |
tree | 8f2088e75b4ef6be98d5d612e4036fa505a233c2 /gdb/jit-reader.in | |
parent | 765c912d797aa17e50b7abfb79ffabe61cf6df76 (diff) | |
download | gdb-df19014971c3df33ff240b1ad1390fa50d81217e.tar.gz |
2012-03-01 Pedro Alves <palves@redhat.com>
* jit-reader.in (plugin_is_GPL_compatible): Add declarations for
both __cplusplus and !__cplusplus.
Diffstat (limited to 'gdb/jit-reader.in')
-rw-r--r-- | gdb/jit-reader.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/jit-reader.in b/gdb/jit-reader.in index ccc68e49277..42c28b52ce0 100644 --- a/gdb/jit-reader.in +++ b/gdb/jit-reader.in @@ -36,6 +36,7 @@ extern "C" { #ifdef __cplusplus #define GDB_DECLARE_GPL_COMPATIBLE_READER \ extern "C" { \ + extern int plugin_is_GPL_compatible (void); \ extern int plugin_is_GPL_compatible (void) \ { \ return 0; \ @@ -45,6 +46,7 @@ extern "C" { #else #define GDB_DECLARE_GPL_COMPATIBLE_READER + extern int plugin_is_GPL_compatible (void); \ extern int plugin_is_GPL_compatible (void) \ { \ return 0; \ |