X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fngircd.c;h=c91f0db18b8eafaf17ee2fc87246192a80c49bf3;hp=b54d3177f4699864d762ba8eeeeefc14d650b55d;hb=f7327524fce6a7db28850c8b8b8f0e99d0b2402b;hpb=e74ee37db56077606bf19ad7ff6cd509f4a17953 diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index b54d3177..c91f0db1 100644 --- a/src/ngircd/ngircd.c +++ b/src/ngircd/ngircd.c @@ -9,7 +9,7 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: ngircd.c,v 1.46 2002/05/27 13:00:50 alex Exp $ + * $Id: ngircd.c,v 1.47 2002/05/30 16:52:21 alex Exp $ * * ngircd.c: Hier beginnt alles ;-) */ @@ -340,7 +340,15 @@ NGIRCd_VersionAddition( VOID ) #endif if( txt[0] ) strcat( txt, "-" ); +#ifdef PROTOTYPES strcat( txt, TARGET_CPU"/"TARGET_VENDOR"/"TARGET_OS ); +#else + strcat( txt, TARGET_CPU ); + strcat( txt, "/" ); + strcat( txt, TARGET_VENDOR ); + strcat( txt, "/" ); + strcat( txt, TARGET_OS ); +#endif return txt; } /* NGIRCd_VersionAddition */