mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 555915 - Avoid visibility issues when building xpcshell with libreadline [r=jwalden]
This commit is contained in:
parent
0c14ec660c
commit
5f699890e4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user