Last change
on this file since 24107 was 15532, checked in by vboxsync, 16 years ago |
crOpenGL: export to OSE
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
|
File size:
717 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * Compiler-related definitions, etc.
|
---|
3 | */
|
---|
4 |
|
---|
5 | #ifndef CR_COMPILER_H
|
---|
6 | #define CR_COMPILER_H 1
|
---|
7 |
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * Function inlining
|
---|
11 | */
|
---|
12 | #if defined(__GNUC__)
|
---|
13 | # define INLINE __inline__
|
---|
14 | #elif defined(__MSC__)
|
---|
15 | # define INLINE __inline
|
---|
16 | #elif defined(_MSC_VER)
|
---|
17 | # define INLINE __inline
|
---|
18 | #elif defined(__ICL)
|
---|
19 | # define INLINE __inline
|
---|
20 | #else
|
---|
21 | # define INLINE
|
---|
22 | #endif
|
---|
23 |
|
---|
24 |
|
---|
25 | /**
|
---|
26 | * For global vars in shared libs
|
---|
27 | */
|
---|
28 | #include <iprt/cdefs.h>
|
---|
29 |
|
---|
30 | #ifndef DLLDATA
|
---|
31 | #define DLLDATA(type) DECLIMPORT(type)
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | /**
|
---|
35 | * For functions called via the public API.
|
---|
36 | * XXX CR_APIENTRY could probably replace all the other *_APIENTRY defines.
|
---|
37 | */
|
---|
38 | #ifdef WINDOWS
|
---|
39 | #define CR_APIENTRY __stdcall
|
---|
40 | #else
|
---|
41 | #define CR_APIENTRY
|
---|
42 | #endif
|
---|
43 |
|
---|
44 |
|
---|
45 | #endif /* CR_COMPILER_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.