From 9b3ce6d23d42c6990789a75b44159aad14d33dd4 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 28 Oct 2018 09:28:02 +0300 Subject: [PATCH] ogg music: #define OV_EXCLUDE_STATIC_CALLBACKS --- dynamic_ogg.h | 4 ++++ music_ogg.c | 2 -- music_ogg.h | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/dynamic_ogg.h b/dynamic_ogg.h index 8eb91656..e642ade0 100644 --- a/dynamic_ogg.h +++ b/dynamic_ogg.h @@ -20,6 +20,10 @@ */ #ifdef OGG_MUSIC + +#ifndef OV_EXCLUDE_STATIC_CALLBACKS +#define OV_EXCLUDE_STATIC_CALLBACKS +#endif #ifdef OGG_USE_TREMOR #include #else diff --git a/music_ogg.c b/music_ogg.c index ab0bc785..ff1d4fe8 100644 --- a/music_ogg.c +++ b/music_ogg.c @@ -19,8 +19,6 @@ 3. This notice may not be removed or altered from any source distribution. */ -/* $Id$ */ - #ifdef OGG_MUSIC /* This file supports Ogg Vorbis music streams */ diff --git a/music_ogg.h b/music_ogg.h index 4d93a2bc..b1beb7a2 100644 --- a/music_ogg.h +++ b/music_ogg.h @@ -19,12 +19,13 @@ 3. This notice may not be removed or altered from any source distribution. */ -/* $Id$ */ - #ifdef OGG_MUSIC /* This file supports Ogg Vorbis music streams */ +#ifndef OV_EXCLUDE_STATIC_CALLBACKS +#define OV_EXCLUDE_STATIC_CALLBACKS +#endif #ifdef OGG_USE_TREMOR #include #else