From 570acf1cc8ad160702fbc954a39d1e59970cb5f6 Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 2 Sep 2020 07:46:51 +0000 Subject: [PATCH] plugin/glew: fixed to compile in Linux git-svn-id: svn://ultimatepp.org/upp/trunk@14961 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/plugin/glew/eglew.h | 6 +----- uppsrc/plugin/glew/glxew.h | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/uppsrc/plugin/glew/eglew.h b/uppsrc/plugin/glew/eglew.h index e9e5a0b29..9eecb3618 100644 --- a/uppsrc/plugin/glew/eglew.h +++ b/uppsrc/plugin/glew/eglew.h @@ -106,11 +106,7 @@ #include #include -#ifndef GLEW_INCLUDE -# include -#else -# include GLEW_INCLUDE -#endif +#include "glew.h" #ifdef __cplusplus extern "C" { diff --git a/uppsrc/plugin/glew/glxew.h b/uppsrc/plugin/glew/glxew.h index 0474ed5ed..c76627854 100644 --- a/uppsrc/plugin/glew/glxew.h +++ b/uppsrc/plugin/glew/glxew.h @@ -99,11 +99,7 @@ #include #include -#ifndef GLEW_INCLUDE -# include -#else -# include GLEW_INCLUDE -#endif +#include "glew.h" #ifdef __cplusplus extern "C" {