| Index: compat/non_win/windows.h
|
| diff --git a/client/crash_report_database.cc b/compat/non_win/windows.h
|
| similarity index 70%
|
| copy from client/crash_report_database.cc
|
| copy to compat/non_win/windows.h
|
| index 0a090b5c2c39b7a85e59e1c595d19daf90ba3384..457745149369eb3149b22bed3141f267a62fe583 100644
|
| --- a/client/crash_report_database.cc
|
| +++ b/compat/non_win/windows.h
|
| @@ -12,13 +12,6 @@
|
| // See the License for the specific language governing permissions and
|
| // limitations under the License.
|
|
|
| -#include "client/crash_report_database.h"
|
| -
|
| -namespace crashpad {
|
| -
|
| -CrashReportDatabase::Report::Report()
|
| - : uuid(), file_path(), id(), creation_time(0), uploaded(false),
|
| - last_upload_attempt_time(0), upload_attempts(0) {
|
| -}
|
| -
|
| -} // namespace crashpad
|
| +// dbghelp.h on Windows requires inclusion of windows.h before it. To avoid
|
| +// cluttering all inclusions of dbghelp.h with #ifdefs, always include windows.h
|
| +// and have an empty one on non-Windows platforms.
|
|
|