forked from mia/Aegisub
0762422b20
Originally committed to SVN as r5243.
26 lines
493 B
C++
26 lines
493 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"
|
|
|
|
// Unix specific settings and defines.
|
|
#include "config/config_unix.h"
|
|
|
|
#endif // __WINDOWS__
|
|
|
|
#endif // AGI_PRE
|