about summary refs log tree commit diff
path: root/test-instr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-instr.c')
-rw-r--r--test-instr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-instr.c b/test-instr.c
index 00799103..4129a5b4 100644
--- a/test-instr.c
+++ b/test-instr.c
@@ -18,6 +18,10 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#ifdef TEST_SHARED_OBJECT
+#define main main_exported
+#endif
+
 int main(int argc, char **argv) {
 
   int   fd = 0;