mirror of https://github.com/odrling/Aegisub
24 lines
421 B
C++
24 lines
421 B
C++
#ifndef AGI_PRE
|
|
|
|
#ifdef _WIN32
|
|
|
|
// Define min and max macros to identity.
|
|
// This will prevent WinDef.h defining them to functions, which prevents
|
|
// using std::min and std::max.
|
|
#define min min
|
|
#define max max
|
|
|
|
// Windows specific settings
|
|
#ifndef BUILD_SKIP_CONFIG_WINDOWS_H
|
|
#include "config/config_windows.h"
|
|
#endif
|
|
|
|
#else
|
|
|
|
// Generated by configure.in
|
|
#include "../acconf.h"
|
|
|
|
#endif // __WINDOWS__
|
|
|
|
#endif // AGI_PRE
|