Changeset 34471 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Jun 9, 2008, 2:02:23 PM (17 years ago)
Author:
[email protected]
Message:

2008-06-09 Cameron Zwarich <[email protected]>

Reviewed by Sam.

Add an include for readline/history.h to fix the build for Darwin users
with the GNU readline library installed. Also, clean up the style of
the HAVE(READLINE) check.

  • kjs/testkjs.cpp: (runInteractive):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/testkjs.cpp

    r34470 r34471  
    4646
    4747#if HAVE(READLINE)
     48#include <readline/history.h>
    4849#include <readline/readline.h>
    4950#endif
     
    349350    bool done = false;
    350351    while (!done) {
    351 #if HAVE_READLINE
     352#if HAVE(READLINE)
    352353        char* line = readline(interactivePrompt);
    353354        if (!line)
Note: See TracChangeset for help on using the changeset viewer.