]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/ngircd.c
- Weitere Anpassungen an pre-ANSI-Compiler.
[ngircd-alex.git] / src / ngircd / ngircd.c
index b54d3177f4699864d762ba8eeeeefc14d650b55d..c91f0db18b8eafaf17ee2fc87246192a80c49bf3 100644 (file)
@@ -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.
  *
  * 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 ;-)
  */
  *
  * ngircd.c: Hier beginnt alles ;-)
  */
@@ -340,7 +340,15 @@ NGIRCd_VersionAddition( VOID )
 #endif
 
        if( txt[0] ) strcat( txt, "-" );
 #endif
 
        if( txt[0] ) strcat( txt, "-" );
+#ifdef PROTOTYPES
        strcat( txt, TARGET_CPU"/"TARGET_VENDOR"/"TARGET_OS );
        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 */
 
        return txt;
 } /* NGIRCd_VersionAddition */