Tidy up includes

librecast_all_the_things
AnyOldName3 3 years ago
parent f05cd901cf
commit 0e29a760d8

@ -1,10 +1,11 @@
#include "windows_crashcatcher.hpp"
#include <cassert> #include <cassert>
#include <cwchar> #include <cwchar>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <thread> #include <thread>
#include "windows_crashcatcher.hpp"
#include "windows_crashmonitor.hpp" #include "windows_crashmonitor.hpp"
#include "windows_crashshm.hpp" #include "windows_crashshm.hpp"
#include <SDL_messagebox.h> #include <SDL_messagebox.h>

@ -1,3 +1,5 @@
#include "windows_crashmonitor.hpp"
#undef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <Windows.h> #include <Windows.h>
@ -12,7 +14,6 @@
#include <SDL_messagebox.h> #include <SDL_messagebox.h>
#include "windows_crashcatcher.hpp" #include "windows_crashcatcher.hpp"
#include "windows_crashmonitor.hpp"
#include "windows_crashshm.hpp" #include "windows_crashshm.hpp"
#include <components/debug/debuglog.hpp> #include <components/debug/debuglog.hpp>

@ -1,7 +1,9 @@
#ifndef WINDOWS_CRASHMONITOR_HPP #ifndef WINDOWS_CRASHMONITOR_HPP
#define WINDOWS_CRASHMONITOR_HPP #define WINDOWS_CRASHMONITOR_HPP
#include <windef.h> #undef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
namespace Crash namespace Crash
{ {

Loading…
Cancel
Save