FLTK 1.3.0
glu.h
00001 //
00002 // "$Id$"
00003 //
00004 // GLu header file for the Fast Light Tool Kit (FLTK).
00005 //
00006 // Copyright 1998-2010 by Bill Spitzak and others.
00007 //
00008 // You must include this instead of GL/gl.h to get the Microsoft
00009 // APIENTRY stuff included (from <windows.h>) prior to the OpenGL
00010 // header files.
00011 //
00012 // This file also provides "missing" OpenGL functions, and
00013 // gl_start() and gl_finish() to allow OpenGL to be used in any window
00014 //
00015 // This library is free software; you can redistribute it and/or
00016 // modify it under the terms of the GNU Library General Public
00017 // License as published by the Free Software Foundation; either
00018 // version 2 of the License, or (at your option) any later version.
00019 //
00020 // This library is distributed in the hope that it will be useful,
00021 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00022 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023 // Library General Public License for more details.
00024 //
00025 // You should have received a copy of the GNU Library General Public
00026 // License along with this library; if not, write to the Free Software
00027 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00028 // USA.
00029 //
00030 // Please report all bugs and problems on the following page:
00031 //
00032 //     http://www.fltk.org/str.php
00033 //
00034 
00035 #ifndef FL_glu_H
00036 #  define FL_glu_H
00037 
00038 #  include "Enumerations.H" // for color names
00039 #  ifdef WIN32
00040 #    include <windows.h>
00041 #  endif
00042 #  ifndef APIENTRY
00043 #    if defined(__CYGWIN__)
00044 #      define APIENTRY __attribute__ ((__stdcall__))
00045 #    else
00046 #      define APIENTRY
00047 #    endif
00048 #  endif
00049 
00050 #  ifdef __APPLE__
00051 #    include <OpenGL/glu.h>
00052 #  else
00053 #    include <GL/glu.h>
00054 #  endif
00055 
00056 #endif // !FL_glu_H
00057 
00058 //
00059 // End of "$Id$".
00060 //