Aegisub/aegisub/src/config.h

25 lines
450 B
C
Raw Normal View History

#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
#include "config/config_windows.h"
#else
// Generated by configure.in
#include "../acconf.h"
// Unix specific settings and defines.
#include "config/config_unix.h"
#endif // __WINDOWS__
#endif // AGI_PRE