summaryrefslogtreecommitdiffstats
path: root/src/daemon/dumpmodules.c
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-01-06 00:51:33 +0100
committerMaarten Bosmans <mkbosmans@gmail.com>2011-02-17 11:58:22 +0100
commitbb12ff83564d43566089dd979639c6993ba76665 (patch)
tree1d7df88762eeba464971742328b7617ffb93f3b3 /src/daemon/dumpmodules.c
parent0ac0479534d9cb6e4ef734eeb3a663f33a4f8ef3 (diff)
Apply #ifdefs around functionality not available on win32
And also the reverse: around some win32 specific functionality
Diffstat (limited to 'src/daemon/dumpmodules.c')
-rw-r--r--src/daemon/dumpmodules.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/dumpmodules.c b/src/daemon/dumpmodules.c
index 92470b49..d0504dc5 100644
--- a/src/daemon/dumpmodules.c
+++ b/src/daemon/dumpmodules.c
@@ -90,7 +90,9 @@ static void show_info(const char *name, const char *path, void (*info)(const cha
}
}
+#ifndef OS_IS_WIN32
extern const lt_dlsymlist lt_preloaded_symbols[];
+#endif
static int is_preloaded(const char *name) {
const lt_dlsymlist *l;