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