From 5f699890e428cfc1d3242ed706e8cdfdd12241c2 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 13 May 2010 09:06:13 +0200 Subject: [PATCH] Bug 555915 - Avoid visibility issues when building xpcshell with libreadline [r=jwalden] --- js/src/xpconnect/shell/xpcshell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/xpconnect/shell/xpcshell.cpp b/js/src/xpconnect/shell/xpcshell.cpp index cb07c7ec2bb5..eb62100787c5 100644 --- a/js/src/xpconnect/shell/xpcshell.cpp +++ b/js/src/xpconnect/shell/xpcshell.cpp @@ -241,8 +241,8 @@ GetLocationProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp) #ifdef EDITLINE extern "C" { -extern char *readline(const char *prompt); -extern void add_history(char *line); +extern JS_EXPORT_API(char) *readline(const char *prompt); +extern JS_EXPORT_API(void) add_history(char *line); } #endif