diff options
Diffstat (limited to 'src/gos')
-rw-r--r-- | src/gos/gos_linux.c | 3 | ||||
-rw-r--r-- | src/gos/gos_osx.c | 3 | ||||
-rw-r--r-- | src/gos/gos_raw32.c | 3 | ||||
-rw-r--r-- | src/gos/gos_win32.c | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/src/gos/gos_linux.c b/src/gos/gos_linux.c index e6fbe26c..52f983b2 100644 --- a/src/gos/gos_linux.c +++ b/src/gos/gos_linux.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_OS_LINUX diff --git a/src/gos/gos_osx.c b/src/gos/gos_osx.c index f21b8a75..f0c2b4cd 100644 --- a/src/gos/gos_osx.c +++ b/src/gos/gos_osx.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_OS_OSX diff --git a/src/gos/gos_raw32.c b/src/gos/gos_raw32.c index 22c753aa..d4072dc1 100644 --- a/src/gos/gos_raw32.c +++ b/src/gos/gos_raw32.c @@ -5,6 +5,9 @@ * http://ugfx.org/license.html */ +// We need to include stdio.h below for Win32 emulation. 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_OS_RAW32 diff --git a/src/gos/gos_win32.c b/src/gos/gos_win32.c index a7e0943b..8e769aab 100644 --- a/src/gos/gos_win32.c +++ b/src/gos/gos_win32.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_OS_WIN32 |