From 114b8cff93b56b4e4447d6b6af73137e9705fe9e Mon Sep 17 00:00:00 2001 From: Luflosi Date: Fri, 11 Oct 2019 20:26:27 +0200 Subject: [PATCH] Cleanup From upstream: https://github.com/glfw/glfw/commit/62b7fe831179428c3fa1d7939d48562772ee5647. --- glfw/glfw3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glfw/glfw3.h b/glfw/glfw3.h index e21576862..d5d746bd8 100644 --- a/glfw/glfw3.h +++ b/glfw/glfw3.h @@ -99,8 +99,8 @@ extern "C" { /* It is customary to use APIENTRY for OpenGL function pointer declarations on * all platforms. Additionally, the Windows OpenGL header needs APIENTRY. */ -#ifndef APIENTRY - #ifdef _WIN32 +#if !defined(APIENTRY) + #if defined(_WIN32) #define APIENTRY __stdcall #else #define APIENTRY