OLD | NEW |
1 /* | 1 /* |
2 * Mesa 3-D graphics library | 2 * Mesa 3-D graphics library |
3 * Version: 7.6 | 3 * Version: 7.6 |
4 * | 4 * |
5 * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. | 5 * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. |
6 * Copyright (C) 2009 VMware, Inc. All Rights Reserved. | 6 * Copyright (C) 2009 VMware, Inc. All Rights Reserved. |
7 * | 7 * |
8 * Permission is hereby granted, free of charge, to any person obtaining a | 8 * Permission is hereby granted, free of charge, to any person obtaining a |
9 * copy of this software and associated documentation files (the "Software"), | 9 * copy of this software and associated documentation files (the "Software"), |
10 * to deal in the Software without restriction, including without limitation | 10 * to deal in the Software without restriction, including without limitation |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 # define GLAPIENTRY __stdcall | 65 # define GLAPIENTRY __stdcall |
66 # endif | 66 # endif |
67 #elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl3
2 */ | 67 #elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl3
2 */ |
68 # define GLAPI extern | 68 # define GLAPI extern |
69 # define GLAPIENTRY __stdcall | 69 # define GLAPIENTRY __stdcall |
70 #elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_
C >= 0x590)) | 70 #elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_
C >= 0x590)) |
71 # define GLAPI __attribute__((visibility("default"))) | 71 # define GLAPI __attribute__((visibility("default"))) |
72 # define GLAPIENTRY | 72 # define GLAPIENTRY |
73 #endif /* WIN32 && !CYGWIN */ | 73 #endif /* WIN32 && !CYGWIN */ |
74 | 74 |
75 #if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__) | 75 /* See https://bugs.freedesktop.org/show_bug.cgi?id=77749 */ |
| 76 #if (defined(__BEOS__) && defined(__POWERPC__)) /* || defined(__QUICKDRAW__) */ |
76 # define PRAGMA_EXPORT_SUPPORTED 1 | 77 # define PRAGMA_EXPORT_SUPPORTED 1 |
77 #endif | 78 #endif |
78 | 79 |
79 /* | 80 /* |
80 * WINDOWS: Include windows.h here to define APIENTRY. | 81 * WINDOWS: Include windows.h here to define APIENTRY. |
81 * It is also useful when applications include this file by | 82 * It is also useful when applications include this file by |
82 * including only glut.h, since glut.h depends on windows.h. | 83 * including only glut.h, since glut.h depends on windows.h. |
83 * Applications needing to include windows.h with parms other | 84 * Applications needing to include windows.h with parms other |
84 * than "WIN32_LEAN_AND_MEAN" may include windows.h before | 85 * than "WIN32_LEAN_AND_MEAN" may include windows.h before |
85 * glut.h or gl.h. | 86 * glut.h or gl.h. |
(...skipping 2140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2226 /* | 2227 /* |
2227 * End system-specific stuff | 2228 * End system-specific stuff |
2228 **********************************************************************/ | 2229 **********************************************************************/ |
2229 | 2230 |
2230 | 2231 |
2231 #ifdef __cplusplus | 2232 #ifdef __cplusplus |
2232 } | 2233 } |
2233 #endif | 2234 #endif |
2234 | 2235 |
2235 #endif /* __gl_h_ */ | 2236 #endif /* __gl_h_ */ |
OLD | NEW |