Add NightShot source

This commit is contained in:
f1den committed 2026-07-31 17:03:49 +03:00
1 parent 0174ecaf32
commit dfcbacfb0c
33 files changed
+8358 -1

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#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