forked from mia/Aegisub
74 lines
1.2 KiB
C++
74 lines
1.2 KiB
C++
#include "config.h"
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
// Common C
|
|
#include <cassert>
|
|
#include <cerrno>
|
|
#include <climits>
|
|
#include <cmath>
|
|
#include <cstdarg>
|
|
#include <cstdio>
|
|
#include <cstdint>
|
|
#include <cstring>
|
|
#include <sys/stat.h>
|
|
#ifdef HAVE_SYS_TIME_H
|
|
# include <sys/time.h>
|
|
#else
|
|
# include <ctime>
|
|
#endif
|
|
|
|
// Windows C
|
|
#ifdef _WIN32
|
|
#include <io.h>
|
|
#endif
|
|
|
|
// Unix C
|
|
#ifndef _WIN32
|
|
#include <sys/statvfs.h>
|
|
#include <sys/param.h>
|
|
#endif
|
|
|
|
// Common C++
|
|
#ifdef _MSC_VER
|
|
#pragma warning(push)
|
|
#pragma warning(disable:4996)
|
|
#endif
|
|
|
|
#include <algorithm>
|
|
#include <deque>
|
|
#include <fstream>
|
|
#include <functional>
|
|
#include <iomanip>
|
|
#include <iostream>
|
|
#include <iterator>
|
|
#include <list>
|
|
#include <locale>
|
|
#include <map>
|
|
#include <memory>
|
|
#include <numeric>
|
|
#include <set>
|
|
#include <sstream>
|
|
#include <stdexcept>
|
|
#include <string>
|
|
#include <tuple>
|
|
#include <vector>
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma warning(pop)
|
|
#endif
|
|
|
|
// Boost
|
|
#include <boost/container/list.hpp>
|
|
#include <boost/container/map.hpp>
|
|
#define BOOST_NO_SCOPED_ENUMS
|
|
#include <boost/filesystem.hpp>
|
|
#undef BOOST_NO_SCOPED_ENUMS
|
|
|
|
#ifdef __DEPRECATED // Dodge GCC warnings
|
|
# undef __DEPRECATED
|
|
# include <strstream>
|
|
# define __DEPRECATED
|
|
#else
|
|
# include <strstream>
|
|
#endif
|