diff options
Diffstat (limited to 'nuttx/binfmt/binfmt_loadmodule.c')
-rw-r--r-- | nuttx/binfmt/binfmt_loadmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/binfmt/binfmt_loadmodule.c b/nuttx/binfmt/binfmt_loadmodule.c index b73b6223e..7ab613c02 100644 --- a/nuttx/binfmt/binfmt_loadmodule.c +++ b/nuttx/binfmt/binfmt_loadmodule.c @@ -48,6 +48,8 @@ #include "binfmt_internal.h" +#ifndef CONFIG_BINFMT_DISABLE + /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ @@ -136,4 +138,5 @@ int load_module(const char *filename, FAR struct binary_s *bin) return OK; } +#endif /* CONFIG_BINFMT_DISABLE */ |