summaryrefslogtreecommitdiff
path: root/microbbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'microbbs.c')
-rw-r--r--microbbs.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/microbbs.c b/microbbs.c
index c414b55..cf3a7db 100644
--- a/microbbs.c
+++ b/microbbs.c
@@ -6,6 +6,8 @@
#include "motd.h"
#include "libterm/term.h"
+#include "ini.h"
+
int main( int argc, char **argv )
{
int ret_len;
@@ -60,7 +62,12 @@ int main( int argc, char **argv )
#ifdef CONFIG_TODO
printf("T(o)do ");
#endif
- printf("(Q)uit (S)ysinfo Mesa(G)es: ");
+
+ #ifdef CONFIG_MESSAGING
+ printf("Mesa(G)es ");
+ #endif
+
+ printf("(Q)uit (S)ysinfo: ");
ret_len = getline( &str, &str_size, stdin );
if ( ret_len > 0)
{
@@ -112,12 +119,14 @@ int main( int argc, char **argv )
break;
#endif
+ #ifndef CONFIG_MESSAGING
case 'g':
case 'G':
{
printf("Messages\n");
}
break;
+ #endif
//------------------------------------------------------------------
#ifdef CONFIG_BOARD