Changeset 221878 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Sep 11, 2017, 2:24:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r221849 r221878 104 104 #endif 105 105 106 #if PLATFORM(COCOA) 107 #include <crt_externs.h> 108 #endif 109 106 110 #if HAVE(READLINE) 107 111 // readline/history.h has a Function typedef which conflicts with the WTF::Function template from WTF/Forward.h … … 3596 3600 Options::initialize(); 3597 3601 3602 if (Options::dumpOptions()) { 3603 printf("Command line:"); 3604 #if PLATFORM(COCOA) 3605 for (char** envp = *_NSGetEnviron(); *envp; envp++) { 3606 const char* env = *envp; 3607 if (!strncmp("JSC_", env, 4)) 3608 printf(" %s", env); 3609 } 3610 #endif // PLATFORM(COCOA) 3611 for (int i = 0; i < argc; ++i) 3612 printf(" %s", argv[i]); 3613 printf("\n"); 3614 } 3615 3598 3616 int i = 1; 3599 3617 JSC::Options::DumpLevel dumpOptionsLevel = JSC::Options::DumpLevel::None;
Note:
See TracChangeset
for help on using the changeset viewer.