diff options
author | Alan Modra <amodra@gmail.com> | 2009-10-23 05:45:27 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-10-23 05:45:27 +0000 |
commit | 98950613d80b6b340f11115cd9920b6d56e4dcfd (patch) | |
tree | 8f61a25ff4c218d85544866cbd9ab19dd27bdded /bfd/plugin.c | |
parent | 07f1e47a64cf333e0484c235be7a91f7d62732e2 (diff) | |
download | gdb-98950613d80b6b340f11115cd9920b6d56e4dcfd.zip gdb-98950613d80b6b340f11115cd9920b6d56e4dcfd.tar.gz gdb-98950613d80b6b340f11115cd9920b6d56e4dcfd.tar.bz2 |
* plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS.
Diffstat (limited to 'bfd/plugin.c')
-rw-r--r-- | bfd/plugin.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/plugin.c b/bfd/plugin.c index a81db6f..2874fa6 100644 --- a/bfd/plugin.c +++ b/bfd/plugin.c @@ -20,6 +20,10 @@ MA 02110-1301, USA. */ #include "config.h" +#include "bfd.h" + +#if BFD_SUPPORTS_PLUGINS + #include <assert.h> #include <dlfcn.h> #include <stdarg.h> @@ -492,3 +496,4 @@ const bfd_target plugin_vec = NULL /* backend_data. */ }; +#endif /* BFD_SUPPORTS_PLUGIN */ |