#include "config.h" #define LAGI_PRE // Common C #include #include #include #include #include #include #include #include #include #ifdef HAVE_SYS_TIME_H # include #else # include #endif // Windows C #ifdef _WIN32 // "Lean and mean" causes windows.h to include less stuff, mostly rarely-used things. // We can't build without being "lean and mean", some of the things included by it has // macros that clash with variable names around Aegisub causing strange build errors. #define WIN32_LEAN_AND_MEAN #include #include #endif // Unix C #ifndef _WIN32 #include #include #endif // Common C++ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef _WIN32 #include #include #else #include #include #endif #ifdef __DEPRECATED // Dodge GCC warnings # undef __DEPRECATED # include # define __DEPRECATED #else # include #endif