summaryrefslogtreecommitdiff
path: root/nuttx/binfmt/nxflat.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-17 21:15:31 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-17 21:15:31 +0000
commit5a0722f9d657233ed85bdcf75a9a14ea321a1a28 (patch)
tree3ce9d8153ebbd5259472394eca8ef369cfcfd455 /nuttx/binfmt/nxflat.c
parentd8ee4cfaf8afacfe8ff455900ed391af4f642888 (diff)
downloadpx4-nuttx-5a0722f9d657233ed85bdcf75a9a14ea321a1a28.tar.gz
px4-nuttx-5a0722f9d657233ed85bdcf75a9a14ea321a1a28.tar.bz2
px4-nuttx-5a0722f9d657233ed85bdcf75a9a14ea321a1a28.zip
Straighten out conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1896 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt/nxflat.c')
-rw-r--r--nuttx/binfmt/nxflat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/binfmt/nxflat.c b/nuttx/binfmt/nxflat.c
index 94b15a32c..e9c2b9961 100644
--- a/nuttx/binfmt/nxflat.c
+++ b/nuttx/binfmt/nxflat.c
@@ -49,6 +49,8 @@
#include <nuttx/binfmt.h>
#include <nuttx/nxflat.h>
+#ifdef CONFIG_NXFLAT
+
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -235,3 +237,5 @@ void nxflat_uninitialize(void)
unregister_binfmt(&g_nxflatbinfmt);
}
+#endif /* CONFIG_NXFLAT */
+