mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 01:10:44 +02:00
glu: fix compilation problem when using Windows gl.h (sf bug 2204589)
This commit is contained in:
parent
26c1c04fd0
commit
cd1283f515
1 changed files with 4 additions and 0 deletions
|
|
@ -38,8 +38,12 @@
|
|||
#include <GL/gl.h>
|
||||
|
||||
#ifndef GLAPIENTRY
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#define GLAPIENTRY __stdcall
|
||||
#else
|
||||
#define GLAPIENTRY
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef GLAPIENTRYP
|
||||
#define GLAPIENTRYP GLAPIENTRY *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue