aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfile/gfile_petitfs_wrapper.c
diff options
context:
space:
mode:
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