summaryrefslogtreecommitdiff
path: root/graphics/asymptote/glew.c
blob: a73295622d6852c0a5bdca6e8ba2906218e86bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// this file is not used by cmake build.

#ifdef HAVE_CONFIG_H
#include "config.h"
#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 "backports/glew/src/glew.c"
#endif /* HAVE_LIBGL */