Files
TTDownloader/third_party/NIM_Duilib_Framework/build/winsdk_config.h
T
tongtong e1e26acc49 第三方框架改为仓内子集并完善构建忽略规则
完整 NIM_Duilib_Framework 仓库移至父目录,third_party 仅保留实际使用的 base、duilib、bin/resources 与许可证;.gitignore 覆盖 MSBuild 与打包产物。
2026-11-15 08:54:17 +08:00

39 lines
764 B
C

// The basic configuration of Windows SDK and CRT
#ifndef BUILD_WINSDK_CONFIG_H_
#define BUILD_WINSDK_CONFIG_H_
#if !defined(OS_WIN)
#error "Preprocessing symbol 'OS_WIN' needed :-)"
#endif
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN
#endif
#ifndef WIN32_LEAN_AND_MEAN // remove rarely used header files, including 'winsock.h'
#define WIN32_LEAN_AND_MEAN // which will conflict with 'winsock2.h'
#endif
#ifndef WINVER
#define WINVER _WIN32_WINNT_WINXP
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT _WIN32_WINNT_WINXP
#endif
#ifndef _WIN32_WINDOWS
#define _WIN32_WINDOWS _WIN32_WINNT_WINXP
#endif
#ifndef _WIN32_IE
#define _WIN32_IE _WIN32_IE_IE60
#endif
#ifdef COMPILER_MSVC
#pragma warning(disable: 4996)
#endif
#endif // BUILD_WINSDK_CONFIG_H_