diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-09-19 16:19:43 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-09-19 16:19:43 +0000 |
commit | 473e51f2fbfb003717bb88616ea585fc8d76f75e (patch) | |
tree | f1ce211df7e089916bb720d36f8a950ef4624f4f /include | |
parent | cbc1fb0a9a4c97a36608fb20483246559b4c2f76 (diff) | |
download | external_mesa3d-473e51f2fbfb003717bb88616ea585fc8d76f75e.zip external_mesa3d-473e51f2fbfb003717bb88616ea585fc8d76f75e.tar.gz external_mesa3d-473e51f2fbfb003717bb88616ea585fc8d76f75e.tar.bz2 |
Updated BeOS support (Philippe Houdoin)
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/gl.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h index 5808d50..4b3a411 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -1,4 +1,4 @@ -/* $Id: gl.h,v 1.69 2002/09/06 02:52:23 brianp Exp $ */ +/* $Id: gl.h,v 1.70 2002/09/19 16:19:45 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -63,6 +63,10 @@ # define GLAPIENTRY #endif /* WIN32 / CYGWIN bracket */ +#if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__) +# define PRAGMA_EXPORT_SUPPORTED 1 +#endif + #if defined(_WIN32) && !defined(_WINGDI_) && !defined(_GNU_H_WINDOWS32_DEFINES) && !defined(OPENSTEP) && !defined(__CYGWIN__) #include <gl/mesa_wgl.h> #endif @@ -79,10 +83,10 @@ #define signed #endif - -#if defined(__BEOS__) || defined(__QUICKDRAW__) +#if defined(PRAGMA_EXPORT_SUPPORTED) #pragma export on #endif + /* * End system-specific stuff. **********************************************************************/ @@ -726,6 +730,7 @@ typedef double GLclampd; /* double precision float in [0,1] */ #define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF + /* * Miscellaneous */ @@ -2593,7 +2598,7 @@ GLAPI void GLAPIENTRY glTracePointerRangeMESA( const GLvoid* first, const GLvoid /********************************************************************** * Begin system-specific stuff */ -#if defined(__BEOS__) || defined(__QUICKDRAW__) +#if defined(PRAGMA_EXPORT_SUPPORTED) #pragma export off #endif |