From 75b415c5b8e2d45c54f02f6e243427fb802fcebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Fri, 12 Jul 2019 14:33:05 +0200 Subject: [PATCH] Cleanup (cherry picked from commit 62b7fe831179428c3fa1d7939d48562772ee5647) --- include/GLFW/glfw3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 28a38e33..cbc18259 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -118,8 +118,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