Added warning about windows.h.

This commit is contained in:
Patrick 2024-09-12 14:51:18 +02:00
parent 92d7b5552f
commit a015ad54a7

View File

@ -108,6 +108,10 @@ if (!static_cast<bool>(condition)) \
// public types
//
#if defined(ERROR)
#error "Someone included windows.h! Include mijin/util/winundef.h."
#endif
enum class AssertionResult
{
ABORT = -1, // call std::abort()