From d675d665b336507a795afaf67d18030b304b793d Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 6 Jan 2017 13:08:27 +0200 Subject: [PATCH] Some compilation fixes for Windows too --- source/al.h | 3 +++ source/oggdecoder.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/source/al.h b/source/al.h index 6310877..70ecc77 100644 --- a/source/al.h +++ b/source/al.h @@ -4,6 +4,9 @@ #ifdef __APPLE__ #include #else +#ifndef TARGET_OS_MAC +#define TARGET_OS_MAC 0 +#endif #include #endif diff --git a/source/oggdecoder.cpp b/source/oggdecoder.cpp index 5462b79..efea1f6 100644 --- a/source/oggdecoder.cpp +++ b/source/oggdecoder.cpp @@ -1,4 +1,7 @@ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-variable" #include +#pragma GCC diagnostic pop #include #include "oggdecoder.h" -- 2.45.2