aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfile/gfile_petitfs_wrapper.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-08-20 17:42:53 +1000
committerinmarket <andrewh@inmarket.com.au>2014-08-20 17:42:53 +1000
commit0f3f8f68f87233bf59c3fa68c3dfe1f492a1a478 (patch)
tree3dc625e7dfcfc620e83827ccd18423be1b5334f4 /src/gfile/gfile_petitfs_wrapper.c
parentfcbb66a9394eaf4059bc942df6729b4b55a057d8 (diff)
downloaduGFX-0f3f8f68f87233bf59c3fa68c3dfe1f492a1a478.tar.gz
uGFX-0f3f8f68f87233bf59c3fa68c3dfe1f492a1a478.tar.bz2
uGFX-0f3f8f68f87233bf59c3fa68c3dfe1f492a1a478.zip
Rename lots of files to help prevent compile time name conflicts.
Diffstat (limited to 'src/gfile/gfile_petitfs_wrapper.c')
-rw-r--r--src/gfile/gfile_petitfs_wrapper.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gfile/gfile_petitfs_wrapper.c b/src/gfile/gfile_petitfs_wrapper.c
new file mode 100644
index 00000000..8efc7eb9
--- /dev/null
+++ b/src/gfile/gfile_petitfs_wrapper.c
@@ -0,0 +1,23 @@
+/*
+ * This file is subject to the terms of the GFX License. If a copy of
+ * the license was not distributed with this file, you can obtain one at:
+ *
+ * http://ugfx.org/license.html
+ */
+
+/**
+ * @file src/gfile/gfile_petitfs_wrapper.c
+ * @brief GFILE PETITFS wrapper.
+ *
+ */
+
+#include "gfx.h"
+
+#if GFX_USE_GFILE && GFILE_NEED_PETITFS
+
+#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