summaryrefslogtreecommitdiff
path: root/nuttx/binfmt/binfmt_register.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/binfmt/binfmt_register.c')
-rw-r--r--nuttx/binfmt/binfmt_register.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/binfmt/binfmt_register.c b/nuttx/binfmt/binfmt_register.c
index 2323062ec..90b417723 100644
--- a/nuttx/binfmt/binfmt_register.c
+++ b/nuttx/binfmt/binfmt_register.c
@@ -49,6 +49,8 @@
#include "binfmt_internal.h"
+#ifndef CONFIG_BINFMT_DISABLE
+
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -99,4 +101,5 @@ int register_binfmt(FAR struct binfmt_s *binfmt)
return -EINVAL;
}
+#endif /* CONFIG_BINFMT_DISABLE */