Changeset 182636 in webkit


Ignore:
Timestamp:
Apr 10, 2015 11:55:54 AM (9 years ago)
Author:
commit-queue@webkit.org
Message:

Disable Linux-specific code in a Windows build
https://bugs.webkit.org/show_bug.cgi?id=137973

Patch by Milan Crha <mcrha@redhat.com> on 2015-04-10
Reviewed by Joseph Pecoraro.

  • inspector/JSGlobalObjectInspectorController.cpp:

(Inspector::JSGlobalObjectInspectorController::appendAPIBacktrace):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r182634 r182636  
     12015-04-10  Milan Crha  <mcrha@redhat.com>
     2
     3        Disable Linux-specific code in a Windows build
     4        https://bugs.webkit.org/show_bug.cgi?id=137973
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * inspector/JSGlobalObjectInspectorController.cpp:
     9        (Inspector::JSGlobalObjectInspectorController::appendAPIBacktrace):
     10
    1112015-04-10  Csaba Osztrogonác  <ossy@webkit.org>
    212
  • trunk/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp

    r180116 r182636  
    4646
    4747#include <cxxabi.h>
     48#if OS(DARWIN) || (OS(LINUX) && !PLATFORM(GTK))
    4849#include <dlfcn.h>
    4950#include <execinfo.h>
     51#endif
    5052
    5153#if ENABLE(REMOTE_INSPECTOR)
     
    148150void JSGlobalObjectInspectorController::appendAPIBacktrace(ScriptCallStack* callStack)
    149151{
     152#if OS(DARWIN) || (OS(LINUX) && !PLATFORM(GTK))
    150153    static const int framesToShow = 31;
    151154    static const int framesToSkip = 3; // WTFGetBacktrace, appendAPIBacktrace, reportAPIException.
     
    171174        free(cxaDemangled);
    172175    }
     176#else
     177    UNUSED_PARAM(callStack);
     178#endif
    173179}
    174180
Note: See TracChangeset for help on using the changeset viewer.