Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4358 | Rev 4548 | ||
---|---|---|---|
Line 49... | Line 49... | ||
49 | 49 | ||
50 | #ifdef __cplusplus |
50 | #ifdef __cplusplus |
51 | extern "C" { |
51 | extern "C" { |
Line 52... | Line -... | ||
52 | #endif |
- | |
53 | - | ||
54 | - | ||
55 | #ifdef _GLAPI_NO_EXPORTS |
- | |
56 | # define _GLAPI_EXPORT |
- | |
57 | #else /* _GLAPI_NO_EXPORTS */ |
52 | #endif |
58 | # ifdef _WIN32 |
53 | |
59 | # ifdef _GLAPI_DLL_EXPORTS |
54 | #ifdef _GLAPI_DLL_EXPORTS |
60 | # define _GLAPI_EXPORT __declspec(dllexport) |
55 | # define _GLAPI_EXPORT __declspec(dllexport) |
61 | # else |
56 | #else |
62 | # define _GLAPI_EXPORT __declspec(dllimport) |
- | |
63 | # endif |
- | |
64 | # elif defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) |
- | |
65 | # define _GLAPI_EXPORT __attribute__((visibility("default"))) |
- | |
66 | # else |
- | |
67 | # define _GLAPI_EXPORT |
- | |
Line 68... | Line 57... | ||
68 | # endif |
57 | # define _GLAPI_EXPORT __declspec(dllimport) |
69 | #endif /* _GLAPI_NO_EXPORTS */ |
58 | #endif |
70 | 59 |