ROOT
Version v6.32
master
v6.34
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
▼
graf3d
►
eve
▼
eve7
▼
glu
►
dict-list.h
►
dict.c
►
dict.h
►
geom.c
►
geom.h
►
GL_glu.h
►
gluos.h
►
memalloc.c
►
memalloc.h
►
mesh.c
►
mesh.h
►
normal.c
►
normal.h
►
priorityq-heap.c
►
priorityq-heap.h
►
priorityq-sort.h
►
priorityq.c
►
priorityq.h
►
render.c
►
render.h
►
sweep.c
►
sweep.h
►
tess.c
►
tess.h
►
tessmono.c
►
tessmono.h
►
inc
►
src
►
g3d
►
gl
►
gviz3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-32-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
gluos.h
Go to the documentation of this file.
1
/*
2
** gluos.h - operating system dependencies for GLU
3
**
4
*/
5
#ifdef __VMS
6
#ifdef __cplusplus
7
#pragma message disable nocordel
8
#pragma message disable codeunreachable
9
#pragma message disable codcauunr
10
#endif
11
#endif
12
13
#ifdef __WATCOMC__
14
/* Disable *lots* of warnings to get a clean build. I can't be bothered fixing the
15
* code at the moment, as it is pretty ugly.
16
*/
17
#pragma warning 7 10
18
#pragma warning 13 10
19
#pragma warning 14 10
20
#pragma warning 367 10
21
#pragma warning 379 10
22
#pragma warning 726 10
23
#pragma warning 836 10
24
#endif
25
26
#ifdef BUILD_FOR_SNAP
27
28
#include <stdlib.h>
29
#include <stdio.h>
30
#include <malloc.h>
31
32
#elif defined(_WIN32)
33
34
#include <stdlib.h>
/* For _MAX_PATH definition */
35
#include <stdio.h>
36
#include <malloc.h>
37
38
#define WIN32_LEAN_AND_MEAN
39
#define NOGDI
40
#define NOIME
41
#ifndef NOMINMAX
42
#define NOMINMAX
43
#endif
44
45
#ifdef __MINGW64_VERSION_MAJOR
46
#undef _WIN32_WINNT
47
#endif
48
49
#ifndef _WIN32_WINNT
50
/* XXX: Workaround a bug in mingw-w64's headers when NOGDI is set and
51
* _WIN32_WINNT >= 0x0600 */
52
#define _WIN32_WINNT 0x0400
53
#endif
54
#ifndef STRICT
55
#define STRICT 1
56
#endif
57
58
#include <windows.h>
59
60
/* Disable warnings */
61
#if defined(_MSC_VER)
62
#pragma warning(disable : 4101)
63
#pragma warning(disable : 4244)
64
#pragma warning(disable : 4761)
65
#endif
66
67
#if defined(_MSC_VER) && _MSC_VER >= 1200 && _MSC_VER < 1300
68
#pragma comment(linker, "/OPT:NOWIN98")
69
#endif
70
71
#ifndef WINGDIAPI
72
#define WINGDIAPI
73
#endif
74
75
#elif defined(__OS2__)
76
77
#include <stdlib.h>
78
#include <stdio.h>
79
#include <malloc.h>
80
#define WINGDIAPI
81
82
#else
83
84
/* Disable Microsoft-specific keywords */
85
#define GLAPIENTRY
86
#define WINGDIAPI
87
88
#endif
graf3d
eve7
glu
gluos.h
ROOT v6-32 - Reference Guide Generated on Mon Apr 7 2025 05:38:17 (GVA Time) using Doxygen 1.10.0