Added OS and CPU nameing functions

This commit is contained in:
Michiel Broek
2002-02-10 15:57:05 +00:00
parent 4f76ee06db
commit 054987b525
21 changed files with 79 additions and 98 deletions

View File

@@ -136,15 +136,7 @@ void soft_info(void)
temp = calloc(81, sizeof(char));
clr_index();
set_color(YELLOW, BLACK);
#ifdef __linux__
center_addstr( 6, (char *)"MBSE BBS (Linux)");
#elif __FreeBSD__
center_addstr( 6, (char *)"MBSE BBS (FreeBSD)");
#elif __NetBSD__
center_addstr( 6, (char *)"MBSE BBS (NetBSD)");
#else
center_addstr( 6, (char *)"MBSE BBS (Unknown)");
#endif
center_addstr( 6, (char *)"MBSE BBS (%s-%s)", OsName(), OsCPU());
set_color(WHITE, BLACK);
center_addstr( 8, (char *)COPYRIGHT);
set_color(YELLOW, BLACK);