(cherry picked from commit 62b7fe8311)
This commit is contained in:
Camilla Löwy 2019-07-12 14:33:05 +02:00
parent 248e827673
commit 75b415c5b8

View File

@ -118,8 +118,8 @@ extern "C" {
/* It is customary to use APIENTRY for OpenGL function pointer declarations on /* It is customary to use APIENTRY for OpenGL function pointer declarations on
* all platforms. Additionally, the Windows OpenGL header needs APIENTRY. * all platforms. Additionally, the Windows OpenGL header needs APIENTRY.
*/ */
#ifndef APIENTRY #if !defined(APIENTRY)
#ifdef _WIN32 #if defined(_WIN32)
#define APIENTRY __stdcall #define APIENTRY __stdcall
#else #else
#define APIENTRY #define APIENTRY