Minimized windows.h content

This commit is contained in:
Chuck Walbourn 2016-04-24 20:28:04 -07:00
parent 51e92d4e5d
commit ab9fd446ee
3 changed files with 15 additions and 5 deletions

View File

@ -15,13 +15,17 @@
#pragma once
#if !defined(WIN32_LEAN_AND_MEAN)
#pragma warning(push)
#pragma warning(disable : 4005)
#define WIN32_LEAN_AND_MEAN
#endif
#if !defined(NOMINMAX)
#define NOMINMAX
#endif
#define NODRAWTEXT
#define NOGDI
#define NOBITMAP
#define NOMCX
#define NOSERVICE
#define NOHELP
#pragma warning(pop)
#ifndef _WIN32_WINNT_WIN10
#define _WIN32_WINNT_WIN10 0x0A00

View File

@ -6,6 +6,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>

View File

@ -6,6 +6,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>