aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfile/gfile_petitfs_wrapper.c
diff options
context:
space:
mode:
authorAndrew Hannam <Andrew Hannam>2016-05-27 10:29:49 +1000
committerAndrew Hannam <Andrew Hannam>2016-05-27 10:29:49 +1000
commitf8dac95e93127685ca2d1031ddcda28250fe0bd0 (patch)
tree6c0130d1b69d5fc69b4aa2eaa5d1824043d385b7 /src/gfile/gfile_petitfs_wrapper.c
parent08c639ecf6e1726748ccc9c34b84c68e778ce0ac (diff)
downloaduGFX-f8dac95e93127685ca2d1031ddcda28250fe0bd0.tar.gz
uGFX-f8dac95e93127685ca2d1031ddcda28250fe0bd0.tar.bz2
uGFX-f8dac95e93127685ca2d1031ddcda28250fe0bd0.zip
Add support for GFILE_PETITFS_EXTERNAL_LIB and GFILE_FATFS_EXTERNAL_LIB
Diffstat (limited to 'src/gfile/gfile_petitfs_wrapper.c')
-rw-r--r--src/gfile/gfile_petitfs_wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gfile/gfile_petitfs_wrapper.c b/src/gfile/gfile_petitfs_wrapper.c
index 2536a180..ea39d9f2 100644
--- a/src/gfile/gfile_petitfs_wrapper.c
+++ b/src/gfile/gfile_petitfs_wrapper.c
@@ -7,11 +7,11 @@
#include "../../gfx.h"
-#if GFX_USE_GFILE && GFILE_NEED_PETITFS
+#if GFX_USE_GFILE && GFILE_NEED_PETITFS && !GFILE_PETITFS_EXTERNAL_LIB
#include "gfile_petitfs_wrapper.h"
// Include the source we want
#include "../../3rdparty/petitfs-0.03/src/pff.c"
-#endif // GFX_USE_GFILE && GFILE_NEED_PETITFS
+#endif // GFX_USE_GFILE && GFILE_NEED_PETITFS && !GFILE_PETITFS_EXTERNAL_LIB