-
Notifications
You must be signed in to change notification settings - Fork 51
mingw compilation fixes #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
a0ab0e2
3dc58f4
cc4a6ae
b66ab3f
817cb65
59b37de
08ec71c
981e164
5886ae4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| // Copyright 2015 The Crashpad Authors. All rights reserved. | ||
| // | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| #ifndef CRASHPAD_COMPAT_MINGW_WERAPI_H_ | ||
| #define CRASHPAD_COMPAT_MINGW_WERAPI_H_ | ||
|
|
||
| typedef HANDLE HREPORT; | ||
|
|
||
| #ifndef WER_MAX_PREFERRED_MODULES_BUFFER | ||
| #define WER_MAX_PREFERRED_MODULES_BUFFER 256 | ||
| #endif | ||
|
|
||
| #define PWER_SUBMIT_RESULT WER_SUBMIT_RESULT* | ||
|
|
||
| #include_next <werapi.h> | ||
|
|
||
| #endif // CRASHPAD_COMPAT_MINGW_WERAPI_H_ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -223,6 +223,15 @@ if(WIN32) | |
| "-Wno-unknown-attributes" | ||
| ) | ||
| endif() | ||
|
|
||
| # Define NTDDI_VERSION >= NTDDI_WIN10_RS5 - so InitializeContext2 definition is always available in process_reader_win.cc | ||
| # NTDDI_WIN10_RS5 = 0x0A000006 /* ABRACADABRA_WIN10_RS5 */ | ||
| set_property( | ||
| SOURCE "win/process_reader_win.cc" | ||
| APPEND | ||
| PROPERTY COMPILE_DEFINITIONS | ||
| WINVER=0x0A00 _WIN32_WINNT=0x0A00 NTDDI_VERSION=0x0A000006 | ||
| ) | ||
|
||
| endif() | ||
|
|
||
| if(APPLE AND NOT IOS AND CRASHPAD_ENABLE_STACKTRACE) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.