ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
windows_api.hpp
Go to the documentation of this file.
1#pragma once
2
3#ifdef _WIN32
4
5# ifndef WIN32_LEAN_AND_MEAN
6# define WIN32_LEAN_AND_MEAN
7# endif
8
9# ifndef NOMINMAX
10# define NOMINMAX
11# endif
12
13# ifndef STRICT
14# define STRICT
15# endif
16
17# ifndef _WIN32_WINNT
18# ifdef THREADSCHEDULE_WINDOWS_VISTA_COMPAT
19# define _WIN32_WINNT 0x0600
20# else
21# define _WIN32_WINNT 0x0601
22# endif
23# endif
24
25# ifndef WINVER
26# define WINVER _WIN32_WINNT
27# endif
28
29# include <windows.h>
30
31#endif