Changeset 45667 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jul 9, 2009, 12:11:41 PM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r45609 r45667 1 2009-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 1 17 2009-07-07 Gavin Barraclough <[email protected]> 2 18 -
trunk/JavaScriptCore/jsc.cpp
r44870 r45667 49 49 #endif 50 50 51 #if PLATFORM(UNIX)51 #if HAVE(SIGNAL_H) 52 52 #include <signal.h> 53 53 #endif … … 490 490 fprintf(stderr, " -h|--help Prints this help message\n"); 491 491 fprintf(stderr, " -i Enables interactive mode (default if no files are specified)\n"); 492 #if HAVE(SIGNAL_H) 492 493 fprintf(stderr, " -s Installs signal handlers that exit on a crash (Unix platforms only)\n"); 494 #endif 493 495 494 496 cleanupGlobalData(globalData); … … 525 527 } 526 528 if (strcmp(arg, "-s") == 0) { 527 #if PLATFORM(UNIX)529 #if HAVE(SIGNAL_H) 528 530 signal(SIGILL, _exit); 529 531 signal(SIGFPE, _exit); -
trunk/JavaScriptCore/wtf/Platform.h
r45609 r45667 402 402 #endif /* !defined(HAVE_ACCESSIBILITY) */ 403 403 404 #if PLATFORM(UNIX) && !PLATFORM(SYMBIAN) 405 #define HAVE_SIGNAL_H 1 406 #endif 407 404 408 #if PLATFORM(DARWIN) 405 409
Note:
See TracChangeset
for help on using the changeset viewer.