Changeset 34471 in webkit for trunk/JavaScriptCore


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):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r34470 r34471  
     12008-06-09  Cameron Zwarich  <[email protected]>
     2
     3        Reviewed by Sam.
     4
     5        Add an include for readline/history.h to fix the build for Darwin users
     6        with the GNU readline library installed. Also, clean up the style of
     7        the HAVE(READLINE) check.
     8
     9        * kjs/testkjs.cpp:
     10        (runInteractive):
     11
    1122008-06-09  Cameron Zwarich  <[email protected]>
    213
  • 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.