51 lines
1.2 KiB
C
51 lines
1.2 KiB
C
/*******************************************************************************
|
|
*
|
|
* (C) COPYRIGHT AUTHORS, 2016 - 2019
|
|
*
|
|
* TITLE: GLOBAL.H
|
|
*
|
|
* VERSION: 1.14
|
|
*
|
|
* DATE: 05 Jan 2019
|
|
*
|
|
* Common header file for the program support routines.
|
|
*
|
|
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
|
|
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
|
* PARTICULAR PURPOSE.
|
|
*
|
|
*******************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
//disable nonmeaningful warnings.
|
|
#pragma warning(disable: 4005) // macro redefinition
|
|
#pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union
|
|
|
|
#include <Windows.h>
|
|
#include <ntstatus.h>
|
|
#include "ntos.h"
|
|
#include "minirtl\minirtl.h"
|
|
#include "minirtl\rtltypes.h"
|
|
#include "minirtl\cmdline.h"
|
|
#include "sup.h"
|
|
#include "cui.h"
|
|
#include "instdrv.h"
|
|
|
|
#if !defined UNICODE
|
|
#error ANSI build is not supported
|
|
#endif
|
|
|
|
#if defined (_MSC_VER)
|
|
#if (_MSC_VER >= 1900)
|
|
#ifdef _DEBUG
|
|
#pragma comment(lib, "vcruntimed.lib")
|
|
#pragma comment(lib, "ucrtd.lib")
|
|
#else
|
|
#pragma comment(lib, "libucrt.lib")
|
|
#pragma comment(lib, "libvcruntime.lib")
|
|
#endif
|
|
#endif
|
|
#endif
|