Debian Codegraph @

debian/external_deps/fetk/sg/src/glu/gluP.h

raw
1 /* $Id: gluP.h,v 1.2 2000/11/02 00:28:54 mholst Exp $ */
2
3 /*
4 * Mesa 3-D graphics library
5 * Version: 2.0
6 * Copyright (C) 1995-1996 Brian Paul
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
17 *
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library; if not, write to the Free
20 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */
22
23 /*
24 * This file allows the GLU code to be compiled either with the Mesa
25 * headers or with the real OpenGL headers.
26 */
27
28
29 #ifndef GLUP_H
30 #define GLUP_H
31
32
33 #include "GL/gl.h"
34 #include "GL/glu.h"
35
36
37 #ifndef MESA
38 /* If we're using the real OpenGL header files... */
39 # define GLU_TESS_ERROR9 100159
40 #endif
41
42
43 #define GLU_NO_ERROR GL_NO_ERROR
44
45
46 /* for Sun: */
47 #ifdef SUNOS4
48 #define MEMCPY( DST, SRC, BYTES) \
49 memcpy( (char *) (DST), (char *) (SRC), (int) (BYTES) )
50 #else
51 #define MEMCPY( DST, SRC, BYTES) \
52 memcpy( (void *) (DST), (void *) (SRC), (size_t) (BYTES) )
53 #endif
54
55
56 #ifndef NULL
57 # define NULL 0
58 #endif
59
60
61 #endif