AGX Dynamics
2.35.0.1
Windows.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2022. Algoryx Simulation AB.
3
4
All AGX source code, intellectual property, documentation, sample code,
5
tutorials, scene files and technical white papers, are copyrighted, proprietary
6
and confidential material of Algoryx Simulation AB. You may not download, read,
7
store, distribute, publish, copy or otherwise disseminate, use or expose this
8
material unless having a written signed agreement with Algoryx Simulation AB, or having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
valid commercial license from Algoryx Simulation AB.
11
12
Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13
from using this software, unless otherwise stated in written agreements with
14
Algoryx Simulation AB.
15
*/
16
17
#ifndef AGX_WINDOWS_H
18
#define AGX_WINDOWS_H
19
20
// Include file to get the include of windows.h right, which is a bit tricky.
21
#ifdef _WIN32
22
# ifndef WIN32_LEAN_AND_MEAN
23
# define WIN32_LEAN_AND_MEAN
24
# endif
25
# ifndef NOMINMAX
26
# define NOMINMAX
27
# endif
28
# include <
agx/PushDisableWarnings.h
>
// Disabling warnings. Include agx/PopDisableWarnings.h below!
29
# include <windows.h>
30
# include <
agx/PopDisableWarnings.h
>
// End of disabled warnings.
31
#endif
32
33
#ifdef far
// Defined in WinDef.h
34
# undef far
35
#endif
36
37
#ifdef near
// Defined in WinDef.h
38
# undef near
39
#endif
40
41
#ifdef FAR
// Defined in WinDef.h; has to be defined again
42
# undef FAR
43
# define FAR
44
#endif
45
46
#ifdef NEAR
// Defined in WinDef.h; has to be defined again
47
# undef NEAR
48
# define NEAR
49
#endif
50
51
52
#endif
53
PopDisableWarnings.h
PushDisableWarnings.h
include
agx
Windows.h
Generated on Fri Jan 20 2023 10:48:20 for AGX Dynamics by
1.9.1