Kawe Mazidjatari 0a0552d75c Fix verbose compiler warning
This is getting set from CMake now.
2023-05-14 01:21:35 +02:00

28 lines
1.2 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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
// 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