image/svg+xml
Brteve's API for EveApps
Version 0.0.1
The reference document for common folder of EveApps project.
Loading...
Searching...
No Matches
EVE_Platform_WIN32.h
Go to the documentation of this file.
1
32
#ifndef EVE_PLATFORM_WIN32__H
33
#define EVE_PLATFORM_WIN32__H
34
35
#include "
EVE_Config.h
"
36
#if defined(_WIN32)
37
38
/* Disable legacy C functions under TCC */
39
#ifndef NO_OLDNAMES
40
#define NO_OLDNAMES
41
#endif
42
43
/* Sane options for Windows header */
44
#ifndef NOMINMAX
45
#define EVE_NOMINMAX
46
#define NOMINMAX
47
#endif
48
#if !defined(NTDDI_VERSION) && !defined(_WIN32_WINNT) && !defined(WINVER)
49
#define NTDDI_VERSION 0x06000000
50
#define _WIN32_WINNT 0x0600
51
#define WINVER 0x0600
52
#endif
53
#ifndef WIN32_LEAN_AND_MEAN
54
#define WIN32_LEAN_AND_MEAN
55
#endif
56
#ifndef MICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS
57
#define MICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS 0
58
#endif
59
60
/* C library inclusions */
61
#ifdef POINTS
62
#pragma message(__FILE__ "(" EVE_CONFIG_STR(__LINE__) "): error WINPOINTS: Invalid include order, " \
63
"this header must be included before EVE_GpuDefs.h")
64
#endif
65
#define POINTS WINPOINTS
66
#include <Windows.h>
67
#undef POINTS
68
69
#include <stdio.h>
70
#include <stdlib.h>
71
#include <stdarg.h>
72
73
#include <string.h>
74
75
#define _USE_MATH_DEFINES 1
76
#include <math.h>
77
78
#include <direct.h>
79
#include <time.h>
80
#include <io.h>
81
82
#ifdef EVE_NOMINMAX
83
#undef EVE_NOMINMAX
84
#undef NOMINMAX
85
#endif
86
87
#endif
88
#endif
/* #ifndef EVE_PLATFORM_WIN32__H */
89
90
/* end of file */
EVE_Config.h
This file processes the input definitions.
common
eve_hal
EVE_Platform_WIN32.h
Copyright © Bridgetek Pte Ltd