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 d18ca0b8 2002-03-12 alex * Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
6 d18ca0b8 2002-03-12 alex * der GNU General Public License (GPL), wie von der Free Software Foundation
7 d18ca0b8 2002-03-12 alex * herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
8 d18ca0b8 2002-03-12 alex * der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
9 d18ca0b8 2002-03-12 alex * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
10 d18ca0b8 2002-03-12 alex * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
12 cf9629b9 2002-06-26 alex * $Id: portab.h,v 1.7 2002/06/26 15:43:38 alex Exp $
14 d18ca0b8 2002-03-12 alex * portab.h: "Portabilitaets-Definitionen"
18 d18ca0b8 2002-03-12 alex #ifndef __PORTAB__
19 d18ca0b8 2002-03-12 alex #define __PORTAB__
22 d18ca0b8 2002-03-12 alex #include "config.h"
25 ba258e65 2002-05-27 alex /* Compiler Features */
28 ba258e65 2002-05-27 alex #ifndef PARAMS
29 ba258e65 2002-05-27 alex # if PROTOTYPES
30 ba258e65 2002-05-27 alex # define PARAMS(args) args
32 ba258e65 2002-05-27 alex # define PARAMS(args) ()
37 d18ca0b8 2002-03-12 alex /* Keywords */
39 d18ca0b8 2002-03-12 alex #define EXTERN extern
40 d18ca0b8 2002-03-12 alex #define STATIC static
41 d18ca0b8 2002-03-12 alex #define LOCAL static
42 d18ca0b8 2002-03-12 alex #define CONST const
43 cf9629b9 2002-06-26 alex #define REGISTER register
46 d18ca0b8 2002-03-12 alex /* Datatentypen */
48 ba258e65 2002-05-27 alex #ifndef PROTOTYPES
49 ba258e65 2002-05-27 alex # ifndef signed
50 ba258e65 2002-05-27 alex # define signed
54 d18ca0b8 2002-03-12 alex typedef void VOID;
55 d18ca0b8 2002-03-12 alex typedef void POINTER;
57 d18ca0b8 2002-03-12 alex typedef signed int INT;
58 d18ca0b8 2002-03-12 alex typedef unsigned int UINT;
59 d18ca0b8 2002-03-12 alex typedef signed char INT8;
60 d18ca0b8 2002-03-12 alex typedef unsigned char UINT8;
61 d18ca0b8 2002-03-12 alex typedef signed short INT16;
62 d18ca0b8 2002-03-12 alex typedef unsigned short UINT16;
63 d18ca0b8 2002-03-12 alex typedef signed long INT32;
64 d18ca0b8 2002-03-12 alex typedef unsigned long UINT32;
66 d18ca0b8 2002-03-12 alex typedef float FLOAT;
68 d18ca0b8 2002-03-12 alex typedef char CHAR;
70 d18ca0b8 2002-03-12 alex typedef UINT8 BOOLEAN;
73 d18ca0b8 2002-03-12 alex #define TRUE (BOOLEAN)1
75 d18ca0b8 2002-03-12 alex #undef FALSE
76 d18ca0b8 2002-03-12 alex #define FALSE (BOOLEAN)0
79 ba258e65 2002-05-27 alex #ifdef PROTOTYPES
80 ba258e65 2002-05-27 alex # define NULL (VOID *)0
82 ba258e65 2002-05-27 alex # define NULL 0L
85 d18ca0b8 2002-03-12 alex #undef GLOBAL
86 d18ca0b8 2002-03-12 alex #define GLOBAL
89 8d79f267 2002-03-25 alex /* SPLint */
92 8d79f267 2002-03-25 alex #ifdef S_SPLINT_S
93 8d79f267 2002-03-25 alex #include "splint.h"
97 d18ca0b8 2002-03-12 alex /* configure-Optionen */
99 d18ca0b8 2002-03-12 alex #ifndef HAVE_socklen_t
100 d18ca0b8 2002-03-12 alex #define socklen_t int /* u.a. fuer Mac OS X */
103 d18ca0b8 2002-03-12 alex #if OS_UNIX_AUX
104 d18ca0b8 2002-03-12 alex #define _POSIX_SOURCE /* muss unter A/UX definiert sein */
108 d18ca0b8 2002-03-12 alex /* Konstanten */
110 7049b60a 2002-03-12 alex #ifndef TARGET_OS
111 7049b60a 2002-03-12 alex #define TARGET_OS "unknown"
114 7049b60a 2002-03-12 alex #ifndef TARGET_CPU
115 7049b60a 2002-03-12 alex #define TARGET_CPU "unknown"
118 7049b60a 2002-03-12 alex #ifndef TARGET_VENDOR
119 7049b60a 2002-03-12 alex #define TARGET_VENDOR "unknown"
126 d18ca0b8 2002-03-12 alex /* -eof- */