diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2000-11-28 15:32:07 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 2000-11-28 15:32:07 +0000 |
| commit | 45c06ba2c4b432bd3c3fdc5a565d668cba482197 (patch) | |
| tree | 0071b55a2e6f12d27d757e165b9573540e2c2f5f /FL/gl.h | |
| parent | 3988dbf8bd76949b65042c39d86b72c7c77c7d66 (diff) | |
One more try to fix the APIENTRY stuff in glut.h. The file gl.h now
defines APIENTRY in all cases.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1339 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/gl.h')
| -rw-r--r-- | FL/gl.h | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1,5 +1,5 @@ // -// "$Id: gl.h,v 1.6.2.2 2000/06/05 21:20:34 mike Exp $" +// "$Id: gl.h,v 1.6.2.3 2000/11/28 15:32:07 spitzak Exp $" // // OpenGL header file for the Fast Light Tool Kit (FLTK). // @@ -34,9 +34,16 @@ #define gl_draw_H #include "Enumerations.H" // for color names -#ifdef WIN32 +#ifdef _WIN32 # include <windows.h> #endif +#ifndef APIENTRY +# if defined(__CYGWIN__) +# define APIENTRY __attribute__ ((__stdcall__)) +# else +# define APIENTRY +# endif +#endif #include <GL/gl.h> FL_EXPORT void gl_start(); @@ -69,5 +76,5 @@ FL_EXPORT void gl_draw_image(const uchar *, int x,int y,int w,int h, int d=3, in #endif // -// End of "$Id: gl.h,v 1.6.2.2 2000/06/05 21:20:34 mike Exp $". +// End of "$Id: gl.h,v 1.6.2.3 2000/11/28 15:32:07 spitzak Exp $". // |
