* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
*
- * $Id: portabtest.c,v 1.1 2002/03/12 14:36:44 alex Exp $
+ * $Id: portabtest.c,v 1.6 2002/06/26 12:48:20 alex Exp $
*
* portabtest.c: Testprogramm fuer portab.h
*/
#include "exp.h"
-LOCAL BOOLEAN portab_check_types( VOID );
+LOCAL BOOLEAN portab_check_types PARAMS(( VOID ));
-GLOBAL INT main( VOID )
+GLOBAL int
+main( VOID )
{
INT ret = 0;
+ printf( "- system type: %s/%s/%s\n", TARGET_CPU, TARGET_VENDOR, TARGET_OS );
+
printf( "- datatypes: ");
if( ! portab_check_types( ))
{
}
else puts( "ok." );
- puts( "- system type: "P_OSNAME"/"P_ARCHNAME );
-
return ret;
} /* main */
-LOCAL BOOLEAN portab_check_types( VOID )
+LOCAL BOOLEAN
+portab_check_types( VOID )
{
if( FALSE != 0 ) return 0;
if( TRUE != 1 ) return 0;