28 lines
1.2 KiB
C
Raw Normal View History

2022-05-21 19:58:09 +02:00
<EFBFBD><EFBFBD>#pragma once
// Exclude rarely-used stuff from Windows headers
#define WIN32_LEAN_AND_MEAN
// We do not want the non-portable library functions
//#define _CRT_SECURE_NO_WARNINGS
2022-05-21 19:58:09 +02:00
// Platform includes
#include <Windows.h>
#include <objidl.h>
#include <gdiplus.h>
#include <string>
#include <sstream>
#include <memory>
#include <Psapi.h>
#include <TlHelp32.h>
#include <io.h>
#include <immintrin.h>
#include <intrin.h>
#include <algorithm>
#include <fcntl.h>
// Debug printing macro
#if _DEBUG
#define dprintf(x, ...) printf(x, __VA_ARGS__);
#else
#define dprintf(x, ...) ((void*)0);
#endif