summaryrefslogtreecommitdiff
path: root/graphics/asymptote/glew.c
blob: a6009a40e8adc656e3346b967added5de3691df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#ifdef __MSDOS__
#define _WIN32
#endif

#ifndef GLEW_INCLUDE
#include <GL/glew.h>
#else
#include GLEW_INCLUDE
#endif

#ifdef HAVE_LIBGL
#ifdef HAVE_LIBOSMESA
#define GLEW_OSMESA
#define APIENTRY
#endif

#include "GL/glew.c"
#endif /* HAVE_LIBGL */