src/jdk.hotspot.agent/windows/native/libsaproc/sawindbg.cpp
changeset 49274 9f3ce373370a
parent 47216 71c04702a3d5
child 53042 56fbb14251ca
equal deleted inserted replaced
49273:af8ab4f90a32 49274:9f3ce373370a
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    41 #endif
    41 #endif
    42 
    42 
    43 #include <limits.h>
    43 #include <limits.h>
    44 #include <windows.h>
    44 #include <windows.h>
    45 
    45 
    46 #ifndef STDMETHODV
       
    47 #define STDMETHODV(method) virtual HRESULT STDMETHODVCALLTYPE method
       
    48 #endif
       
    49 
       
    50 #define DEBUG_NO_IMPLEMENTATION
    46 #define DEBUG_NO_IMPLEMENTATION
    51 #include <dbgeng.h>
    47 #include <dbgeng.h>
    52 #include <dbghelp.h>
    48 #include <dbghelp.h>
    53 
    49 
    54 // simple template to manage array delete across early (error) returns
    50 // simple template to manage array delete across early (error) returns