#pragma once #if !defined(_WIN32) # error "NightShot targets Windows." #endif // The distributed build is intentionally Win64-only. Developers may explicitly // opt into a compatibility build for testing, but build.bat never does this. #if !defined(_WIN64) && !defined(NIGHTSHOT_ALLOW_WIN32) # error "NightShot is Win64-only. Define NIGHTSHOT_ALLOW_WIN32 only for unsupported compatibility testing." #endif #ifndef UNICODE # define UNICODE #endif #ifndef _UNICODE # define _UNICODE #endif #define WIN32_LEAN_AND_MEAN #define NOMINMAX