Changeset 45667 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jul 9, 2009, 12:11:41 PM (16 years ago)
Author:
[email protected]
Message:

2009-07-09 Laszlo Gombos <Laszlo Gombos>

Reviewed by Darin Adler.

Guard singal.h dependency with HAVE(SIGNAL_H) to enable building jsc
on SYMBIAN.

https://bugs.webkit.org/show_bug.cgi?id=27026

Based on Norbert Leser's work.

  • jsc.cpp: (printUsageStatement): (parseArguments):
  • wtf/Platform.h:
Location:
trunk/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r45609 r45667  
     12009-07-09  Laszlo Gombos  <[email protected]>
     2
     3        Reviewed by Darin Adler.
     4
     5        Guard singal.h dependency with HAVE(SIGNAL_H) to enable building jsc
     6        on SYMBIAN.
     7
     8        https://bugs.webkit.org/show_bug.cgi?id=27026
     9
     10        Based on Norbert Leser's work.
     11
     12        * jsc.cpp:
     13        (printUsageStatement):
     14        (parseArguments):
     15        * wtf/Platform.h:
     16
    1172009-07-07  Gavin Barraclough  <[email protected]>
    218
  • trunk/JavaScriptCore/jsc.cpp

    r44870 r45667  
    4949#endif
    5050
    51 #if PLATFORM(UNIX)
     51#if HAVE(SIGNAL_H)
    5252#include <signal.h>
    5353#endif
     
    490490    fprintf(stderr, "  -h|--help  Prints this help message\n");
    491491    fprintf(stderr, "  -i         Enables interactive mode (default if no files are specified)\n");
     492#if HAVE(SIGNAL_H)
    492493    fprintf(stderr, "  -s         Installs signal handlers that exit on a crash (Unix platforms only)\n");
     494#endif
    493495
    494496    cleanupGlobalData(globalData);
     
    525527        }
    526528        if (strcmp(arg, "-s") == 0) {
    527 #if PLATFORM(UNIX)
     529#if HAVE(SIGNAL_H)
    528530            signal(SIGILL, _exit);
    529531            signal(SIGFPE, _exit);
  • trunk/JavaScriptCore/wtf/Platform.h

    r45609 r45667  
    402402#endif /* !defined(HAVE_ACCESSIBILITY) */
    403403
     404#if PLATFORM(UNIX) && !PLATFORM(SYMBIAN)
     405#define HAVE_SIGNAL_H 1
     406#endif
     407
    404408#if PLATFORM(DARWIN)
    405409
Note: See TracChangeset for help on using the changeset viewer.