Move win32 definitions to nearest include.

This commit is contained in:
2021-03-11 22:03:17 +00:00
parent bfa84533d4
commit ae3c945e2c
10 changed files with 223 additions and 189 deletions

24
setter/src/win32/os.h Normal file
View File

@@ -0,0 +1,24 @@
//
// Created by claunia on 11/3/21.
//
#ifndef SETTER_SRC_WIN32_OS_H_
#define SETTER_SRC_WIN32_OS_H_
#include <windows.h>
#include "win32.h"
#ifndef VER_PLATFORM_WIN32s
#define VER_PLATFORM_WIN32s 0
#endif
#ifndef VER_PLATFORM_WIN32_WINDOWS
#define VER_PLATFORM_WIN32_WINDOWS 1
#endif
#ifndef VER_PLATFORM_WIN32_NT
#define VER_PLATFORM_WIN32_NT 2
#endif
#endif // SETTER_SRC_WIN32_OS_H_