From 07a63f714373859ace005c0686a7ac6982ba30f9 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 21 Feb 2015 09:23:33 +1000 Subject: Compile error and emulation errors for GFILE_NEED_STDIO --- drivers/gaudio/Win32/gaudio_play_lld.c | 3 +++ drivers/gaudio/Win32/gaudio_record_lld.c | 3 +++ 2 files changed, 6 insertions(+) (limited to 'drivers/gaudio') diff --git a/drivers/gaudio/Win32/gaudio_play_lld.c b/drivers/gaudio/Win32/gaudio_play_lld.c index cdc9a62a..03d9acea 100644 --- a/drivers/gaudio/Win32/gaudio_play_lld.c +++ b/drivers/gaudio/Win32/gaudio_play_lld.c @@ -5,6 +5,9 @@ * http://ugfx.org/license.html */ +// We need to include stdio.h below. Turn off GFILE_NEED_STDIO just for this file to prevent conflicts +#define GFILE_NEED_STDIO_MUST_BE_OFF + #include "gfx.h" #if GFX_USE_GAUDIO && GAUDIO_NEED_PLAY diff --git a/drivers/gaudio/Win32/gaudio_record_lld.c b/drivers/gaudio/Win32/gaudio_record_lld.c index cfe8edf5..dd1a201a 100644 --- a/drivers/gaudio/Win32/gaudio_record_lld.c +++ b/drivers/gaudio/Win32/gaudio_record_lld.c @@ -5,6 +5,9 @@ * http://ugfx.org/license.html */ +// We need to include stdio.h below. Turn off GFILE_NEED_STDIO just for this file to prevent conflicts +#define GFILE_NEED_STDIO_MUST_BE_OFF + #include "gfx.h" #if GFX_USE_GAUDIO && GAUDIO_NEED_RECORD -- cgit v1.2.3