summaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-09 12:41:33 +0000
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-09 12:41:33 +0000
commitbbcdd32763124d307512585ce272d61b7bfeddd6 (patch)
treebec947dc3d9b40739c6aa9483adc0bc42e052059 /gcc/plugin.c
parentcf25639386302ba6401b9fd891ef8f3dd62a1824 (diff)
downloadgcc-bbcdd32763124d307512585ce272d61b7bfeddd6.tar.gz
PR gcc/46902
PR testsuite/46912 * plugin.c: Move include of dlfcn.h from here... * system.h: ... to here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/plugin.c')
-rw-r--r--gcc/plugin.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/plugin.c b/gcc/plugin.c
index 2179b819288..c93daed055d 100644
--- a/gcc/plugin.c
+++ b/gcc/plugin.c
@@ -22,15 +22,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
-
-/* If plugin support is not enabled, do not try to execute any code
- that may reference libdl. The generic code is still compiled in to
- avoid including too many conditional compilation paths in the rest
- of the compiler. */
-#ifdef ENABLE_PLUGIN
-#include <dlfcn.h>
-#endif
-
#include "coretypes.h"
#include "diagnostic-core.h"
#include "tree.h"