Aegisub/aegisub/src/config.h

27 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