From 81b942ea6e1124118703388dc62e791289cb6d1a Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 26 May 2014 07:15:45 -0700 Subject: [PATCH] Update agi_pre.h --- src/agi_pre.h | 99 ++++++++++++++++++++++++++++++-------------- src/crash_writer.cpp | 2 + 2 files changed, 71 insertions(+), 30 deletions(-) diff --git a/src/agi_pre.h b/src/agi_pre.h index b2519bab2..89e2827ba 100644 --- a/src/agi_pre.h +++ b/src/agi_pre.h @@ -49,17 +49,46 @@ // Ensure we get a consistent SDK with VS2012 + Win8 SDK #define _USING_V110_SDK71_ 1 -#include "../libaegisub/lagi_pre.h" +#ifndef _WIN32 +#include "../acconf.h" +#endif -// General headers +#define WIN32_LEAN_AND_MEAN + +// Common C +#include +#include +#include +#include +#include +#include +#include + +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable:4996) +#endif + +// Common C++ +#include #include -#include -#include +#include +#include #include +#include +#include +#include #include -#include +#include #include +#include #include +#include +#include + +#ifdef _MSC_VER +#pragma warning(pop) +#endif #ifdef _WIN32 #include @@ -68,100 +97,110 @@ #include #endif +// Boost #include #include #include -#include -#include +#include +#include +#include +#include +#define BOOST_NO_SCOPED_ENUMS +#include +#undef BOOST_NO_SCOPED_ENUMS +#include // wxWidgets headers -#include // Leave this first. +#include // Leave this first. #include #include #include #include #include +#include #include #include #include #include #include -#include #include #include #include -#include +#include #include +#include +#include #include -#include #include #include #include #include -#include +#include #include -#include #include -#include #include +#include #include #include #include #include #include #include -#include #include -#include -#include #include +#include #include +#include +#include #include #include #include +#include +#include #include #include #include +#include +#include #include #include +#include #include +#include +#include #include +#include #include #include #include -#include +#include #include -#include +#include #include #include -#include #include -#include -#include #include #include #include +#include #include -#include #include #include +#include #include -#include #include -#include -#include #include #include #include -#include +#include #include +#include #include -#include -#include -#include #include #include +#include +#include #ifdef HAVE_OPENGL_GL_H #include diff --git a/src/crash_writer.cpp b/src/crash_writer.cpp index dcf325c4b..336301f70 100644 --- a/src/crash_writer.cpp +++ b/src/crash_writer.cpp @@ -22,6 +22,8 @@ #include #include +#include +#include using namespace agi;