2 * ngIRCd -- The Next Generation IRC Daemon
3 * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 * Please read the file COPYING, README and AUTHORS for more information.
11 * test program for portab.h and friends ;-)
17 static char UNUSED id[] = "$Id: portabtest.c,v 1.9 2002/12/12 11:38:46 alex Exp $";
28 /* Datentypen pruefen */
29 if( FALSE != 0 ) return 1;
30 if( TRUE != 1 ) return 1;
31 if( sizeof( INT8 ) != 1 ) return 1;
32 if( sizeof( UINT8 ) != 1 ) return 1;
33 if( sizeof( INT16 ) != 2 ) return 1;
34 if( sizeof( UINT16 ) != 2 ) return 1;
35 if( sizeof( INT32 ) != 4 ) return 1;
36 if( sizeof( UINT32 ) != 4 ) return 1;
40 } /* portab_check_types */