aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gaudio
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-02-21 09:23:33 +1000
committerinmarket <andrewh@inmarket.com.au>2015-02-21 09:23:33 +1000
commit07a63f714373859ace005c0686a7ac6982ba30f9 (patch)
treec6cd9170fbb7aae44c6698117248b47ba7469c96 /drivers/gaudio
parent5e0a0bfd9b6db8e65bb6052d7b65547e803de42b (diff)
downloaduGFX-07a63f714373859ace005c0686a7ac6982ba30f9.tar.gz
uGFX-07a63f714373859ace005c0686a7ac6982ba30f9.tar.bz2
uGFX-07a63f714373859ace005c0686a7ac6982ba30f9.zip
Compile error and emulation errors for GFILE_NEED_STDIO
Diffstat (limited to 'drivers/gaudio')
-rw-r--r--drivers/gaudio/Win32/gaudio_play_lld.c3
-rw-r--r--drivers/gaudio/Win32/gaudio_record_lld.c3
2 files changed, 6 insertions, 0 deletions
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