From 58e3a247e4807ad71be3675935a52298739fa3b8 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Mon, 6 Feb 2017 03:34:41 +0100 Subject: [PATCH] Fix build on osx --- BBGE/Core.h | 4 ++-- BBGE/Event.h | 4 ++-- BBGE/Quad.h | 4 ++-- BBGE/StateManager.h | 4 ++-- BBGE/Texture.cpp | 4 ---- BBGE/Texture.h | 4 ++-- 6 files changed, 10 insertions(+), 14 deletions(-) diff --git a/BBGE/Core.h b/BBGE/Core.h index 40fe49b..743940d 100644 --- a/BBGE/Core.h +++ b/BBGE/Core.h @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef CORE_H -#define CORE_H +#ifndef BBGE_CORE_H +#define BBGE_CORE_H #include "Base.h" #include "RenderObject.h" diff --git a/BBGE/Event.h b/BBGE/Event.h index 5cf91b6..cca37f7 100644 --- a/BBGE/Event.h +++ b/BBGE/Event.h @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef EVENT_H -#define EVENT_H +#ifndef BBGE_EVENT_H +#define BBGE_EVENT_H #include diff --git a/BBGE/Quad.h b/BBGE/Quad.h index 6404f1f..3786d04 100644 --- a/BBGE/Quad.h +++ b/BBGE/Quad.h @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef QUAD_H -#define QUAD_H +#ifndef BBGE_QUAD_H +#define BBGE_QUAD_H #include "RenderObject.h" diff --git a/BBGE/StateManager.h b/BBGE/StateManager.h index 54e3c2c..485578b 100644 --- a/BBGE/StateManager.h +++ b/BBGE/StateManager.h @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef STATE_DATA_H -#define STATE_DATA_H +#ifndef BBGE_STATE_DATA_H +#define BBGE_STATE_DATA_H #include "Base.h" #include diff --git a/BBGE/Texture.cpp b/BBGE/Texture.cpp index a1797b9..401ca5e 100644 --- a/BBGE/Texture.cpp +++ b/BBGE/Texture.cpp @@ -25,10 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "RenderBase.h" #include -#if defined(BBGE_BUILD_UNIX) -#include -#endif - Texture::Texture() { diff --git a/BBGE/Texture.h b/BBGE/Texture.h index bef5f5a..1e9d6da 100644 --- a/BBGE/Texture.h +++ b/BBGE/Texture.h @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef TEXTURE_H -#define TEXTURE_H +#ifndef BBGE_TEXTURE_H +#define BBGE_TEXTURE_H #include #include "Refcounted.h"